summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/urlman/default.nix
blob: f5b3cb472e0efe2aefb2a6dbeaca6e3ff19e8601 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  pytestCheckHook,
}:

buildPythonPackage rec {
  pname = "urlman";
  version = "2.0.3";
  format = "setuptools";

  src = fetchFromGitHub {
    owner = "andrewgodwin";
    repo = "urlman";
    rev = version;
    hash = "sha256-uhIFH8/zRTIGV4ABO+0frp0z8voWl5Ji6rSVRzcx4Og=";
  };

  pythonImportsCheck = [ "urlman" ];

  nativeCheckInputs = [ pytestCheckHook ];

  meta = {
    description = "Django URL pattern helpers";
    homepage = "https://github.com/andrewgodwin/urlman";
    changelog = "https://github.com/andrewgodwin/urlman/blob/${src.rev}/CHANGELOG";
    license = lib.licenses.asl20;
    maintainers = with lib.maintainers; [ hexa ];
  };
}