python3Packages.slugid: init 2.0.0 (#141409)

This commit is contained in:
milahu 2021-11-15 14:30:42 +01:00 committed by GitHub
parent bcf0efabc4
commit 16769bdede
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 37 additions and 0 deletions

View file

@ -7578,6 +7578,12 @@
fingerprint = "DB43 2895 CF68 F0CE D4B7 EF60 DA01 5B05 B5A1 1B22";
}];
};
milahu = {
email = "milahu@gmail.com";
github = "milahu";
githubId = 12958815;
name = "Milan Hauth";
};
milesbreslin = {
email = "milesbreslin@gmail.com";
github = "milesbreslin";

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

View file

@ -8635,6 +8635,8 @@ in {
slowapi = callPackage ../development/python-modules/slowapi { };
slugid = callPackage ../development/python-modules/slugid { };
sly = callPackage ../development/python-modules/sly { };
smart-meter-texas = callPackage ../development/python-modules/smart-meter-texas { };