depot/third_party/nixpkgs/pkgs/development/python-modules/purl/default.nix
Default email 5ca88bfbb9 Project import generated by Copybara.
GitOrigin-RevId: 9f918d616c5321ad374ae6cb5ea89c9e04bf3e58
2024-07-31 10:19:44 +00:00

33 lines
664 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
six,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "purl";
version = "1.6";
format = "setuptools";
src = fetchFromGitHub {
owner = "codeinthehole";
repo = "purl";
rev = version;
hash = "sha256-Jb3JRW/PtQ7NlO4eQ9DmTPu/sjvFTg2mztphoIF79gc=";
};
propagatedBuildInputs = [ six ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "purl" ];
meta = with lib; {
description = "Immutable URL class for easy URL-building and manipulation";
homepage = "https://github.com/codeinthehole/purl";
license = licenses.mit;
maintainers = [ ];
};
}