mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-21 04:49:01 +02:00
pythonPackages.surt: init at 0.3.1
This commit is contained in:
parent
acf0dbcc90
commit
a3354dc39c
37
pkgs/development/python-modules/surt/default.nix
Normal file
37
pkgs/development/python-modules/surt/default.nix
Normal file
|
@ -0,0 +1,37 @@
|
||||||
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchFromGitHub
|
||||||
|
, six
|
||||||
|
, tldextract
|
||||||
|
, pytestCheckHook
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "surt";
|
||||||
|
version = "0.3.1";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "internetarchive";
|
||||||
|
repo = "surt";
|
||||||
|
rev = "6934c321b3e2f66af9c001d882475949f00570c5"; # Has no git tag
|
||||||
|
sha256 = "sha256-pSMNpFfq2V0ANWNFPcb1DwPHccbfddo9P4xZ+ghwbz4=";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
six
|
||||||
|
tldextract
|
||||||
|
];
|
||||||
|
|
||||||
|
checkInputs = [
|
||||||
|
pytestCheckHook
|
||||||
|
];
|
||||||
|
|
||||||
|
pythonImportsCheck = [ "surt" ];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Sort-friendly URI Reordering Transform (SURT) python module";
|
||||||
|
homepage = "https://github.com/internetarchive/surt";
|
||||||
|
license = licenses.agpl3Only;
|
||||||
|
maintainers = with maintainers; [ Luflosi ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -8196,6 +8196,8 @@ in {
|
||||||
|
|
||||||
surepy = callPackage ../development/python-modules/surepy { };
|
surepy = callPackage ../development/python-modules/surepy { };
|
||||||
|
|
||||||
|
surt = callPackage ../development/python-modules/surt { };
|
||||||
|
|
||||||
survey = callPackage ../development/python-modules/survey { };
|
survey = callPackage ../development/python-modules/survey { };
|
||||||
|
|
||||||
suseapi = callPackage ../development/python-modules/suseapi { };
|
suseapi = callPackage ../development/python-modules/suseapi { };
|
||||||
|
|
Loading…
Reference in a new issue