depot/third_party/nixpkgs/pkgs/development/python-modules/purl/default.nix
Default email 18bad4282a Project import generated by Copybara.
GitOrigin-RevId: 1c2986bbb806c57f9470bf3231d8da7250ab9091
2021-06-01 12:57:12 +02:00

24 lines
575 B
Nix

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