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

28 lines
597 B
Nix
Raw Normal View History

2019-09-05 19:59:09 +00:00
{ lib, buildPythonPackage, fetchFromGitHub
, nose
, six
}:
buildPythonPackage rec {
pname = "purl";
version = "1.5";
src = fetchFromGitHub {
owner = "codeinthehole";
repo = "purl";
rev = version;
sha256 = "0vi7xdm2xc1rbqrz5jwpr7x7dnkcrbjf1mb4w1q2c2f8jca0kk0g";
};
propagatedBuildInputs = [ six ];
checkInputs = [ nose ];
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 ];
};
}