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