1{ lib, buildPythonPackage, fetchFromGitHub
2, nose
3, six
4}:
5
6buildPythonPackage rec {
7 pname = "purl";
8 version = "1.5";
9
10 src = fetchFromGitHub {
11 owner = "codeinthehole";
12 repo = "purl";
13 rev = version;
14 sha256 = "0vi7xdm2xc1rbqrz5jwpr7x7dnkcrbjf1mb4w1q2c2f8jca0kk0g";
15 };
16
17 propagatedBuildInputs = [ six ];
18
19 checkInputs = [ nose ];
20
21 meta = with lib; {
22 description = "Immutable URL class for easy URL-building and manipulation";
23 homepage = "https://github.com/codeinthehole/purl";
24 license = licenses.mit;
25 maintainers = with maintainers; [ jonringer ];
26 };
27}