1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 pytestCheckHook,
6}:
7
8buildPythonPackage rec {
9 pname = "urlman";
10 version = "2.0.1";
11 format = "setuptools";
12
13 src = fetchFromGitHub {
14 owner = "andrewgodwin";
15 repo = "urlman";
16 rev = version;
17 hash = "sha256-p6lRuMHM2xJrlY5LDa0XLCGQPDE39UwCouK6e0U9zJE=";
18 };
19
20 pythonImportsCheck = [ "urlman" ];
21
22 nativeCheckInputs = [ pytestCheckHook ];
23
24 meta = with lib; {
25 description = "Django URL pattern helpers";
26 homepage = "https://github.com/andrewgodwin/urlman";
27 changelog = "https://github.com/andrewgodwin/urlman/blob/${src.rev}/CHANGELOG";
28 license = licenses.asl20;
29 maintainers = with maintainers; [ hexa ];
30 };
31}