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