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

25 lines
575 B
Nix
Raw Normal View History

2019-09-05 19:59:09 +00:00
{ lib, buildPythonPackage, fetchFromGitHub
2021-05-21 05:21:10 +00:00
, pytestCheckHook
2019-09-05 19:59:09 +00:00
}:
buildPythonPackage rec {
pname = "purl";
2021-05-21 05:21:10 +00:00
version = "1.6";
2019-09-05 19:59:09 +00:00
src = fetchFromGitHub {
owner = "codeinthehole";
repo = "purl";
rev = version;
2021-05-21 05:21:10 +00:00
sha256 = "sha256-Jb3JRW/PtQ7NlO4eQ9DmTPu/sjvFTg2mztphoIF79gc=";
2019-09-05 19:59:09 +00:00
};
2021-05-21 05:21:10 +00:00
checkInputs = [ pytestCheckHook];
2019-09-05 19:59:09 +00: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 ];
};
}