nixpkgs/pkgs/development/python-modules/purl/default.nix

25 lines
575 B
Nix
Raw Normal View History

2019-09-05 20:59:09 +01:00
{ lib, buildPythonPackage, fetchFromGitHub
2021-05-21 06:21:10 +01:00
, pytestCheckHook
2019-09-05 20:59:09 +01:00
}:
buildPythonPackage rec {
pname = "purl";
2021-05-21 06:21:10 +01:00
version = "1.6";
2019-09-05 20:59:09 +01:00
src = fetchFromGitHub {
owner = "codeinthehole";
repo = "purl";
rev = version;
2021-05-21 06:21:10 +01:00
sha256 = "sha256-Jb3JRW/PtQ7NlO4eQ9DmTPu/sjvFTg2mztphoIF79gc=";
2019-09-05 20:59:09 +01:00
};
2021-05-21 06:21:10 +01:00
checkInputs = [ pytestCheckHook];
2019-09-05 20:59:09 +01:00
meta = with lib; {
description = "Immutable URL class for easy URL-building and manipulation";
homepage = "https://github.com/codeinthehole/purl";
license = licenses.mit;
maintainers = with maintainers; [ jonringer ];
};
}