depot/third_party/nixpkgs/pkgs/development/python-modules/purl/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

27 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 ];
};
}