mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 05:33:23 +00:00
28 lines
597 B
Nix
28 lines
597 B
Nix
{ 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 ];
|
|
};
|
|
}
|