python3Packages.slugid: init 2.0.0 (#141409)
This commit is contained in:
parent
bcf0efabc4
commit
16769bdede
|
@ -7578,6 +7578,12 @@
|
||||||
fingerprint = "DB43 2895 CF68 F0CE D4B7 EF60 DA01 5B05 B5A1 1B22";
|
fingerprint = "DB43 2895 CF68 F0CE D4B7 EF60 DA01 5B05 B5A1 1B22";
|
||||||
}];
|
}];
|
||||||
};
|
};
|
||||||
|
milahu = {
|
||||||
|
email = "milahu@gmail.com";
|
||||||
|
github = "milahu";
|
||||||
|
githubId = 12958815;
|
||||||
|
name = "Milan Hauth";
|
||||||
|
};
|
||||||
milesbreslin = {
|
milesbreslin = {
|
||||||
email = "milesbreslin@gmail.com";
|
email = "milesbreslin@gmail.com";
|
||||||
github = "milesbreslin";
|
github = "milesbreslin";
|
||||||
|
|
29
pkgs/development/python-modules/slugid/default.nix
Normal file
29
pkgs/development/python-modules/slugid/default.nix
Normal file
|
@ -0,0 +1,29 @@
|
||||||
|
{ buildPythonPackage
|
||||||
|
, lib
|
||||||
|
, fetchFromGitHub
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "slugid";
|
||||||
|
version = "2.0.0";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "taskcluster";
|
||||||
|
repo = "slugid.py";
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "McBxGRi8KqVhe2Xez5k4G67R5wBCCoh41dRsTKW4xMA=";
|
||||||
|
};
|
||||||
|
|
||||||
|
doCheck = false; # has no tests
|
||||||
|
|
||||||
|
pythonImportsCheck = [
|
||||||
|
"slugid"
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "URL-safe base64 UUID encoder for generating 22 character slugs";
|
||||||
|
homepage = "https://github.com/taskcluster/slugid.py";
|
||||||
|
license = licenses.mpl20;
|
||||||
|
maintainers = with maintainers; [ milahu ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -8635,6 +8635,8 @@ in {
|
||||||
|
|
||||||
slowapi = callPackage ../development/python-modules/slowapi { };
|
slowapi = callPackage ../development/python-modules/slowapi { };
|
||||||
|
|
||||||
|
slugid = callPackage ../development/python-modules/slugid { };
|
||||||
|
|
||||||
sly = callPackage ../development/python-modules/sly { };
|
sly = callPackage ../development/python-modules/sly { };
|
||||||
|
|
||||||
smart-meter-texas = callPackage ../development/python-modules/smart-meter-texas { };
|
smart-meter-texas = callPackage ../development/python-modules/smart-meter-texas { };
|
||||||
|
|
Loading…
Reference in a new issue