My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/purl/default.nix

37 lines
674 B

{ lib
, buildPythonPackage
, fetchFromGitHub
, six
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "purl";
version = "1.6";
src = fetchFromGitHub {
owner = "codeinthehole";
repo = "purl";
rev = version;
sha256 = "sha256-Jb3JRW/PtQ7NlO4eQ9DmTPu/sjvFTg2mztphoIF79gc=";
};
propagatedBuildInputs = [
six
];
checkInputs = [
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 = with maintainers; [ jonringer ];
};
}