git.iko.soy/typeable/nixpkgs
on master help sign in
python3Packages.slugid: init 2.0.0 (#141409)
commit16769bdede14bd5efab799e0985645a9a458ef24 authormilahu <milahu@gmail.com> dateMon 15 Nov 2021, 14:30 (5 years ago) parentbcf0efa
3 files changed+37
maintainers/maintainer-list.nix+6 pkgs/development/python-modules/slugid/default.nix+29 pkgs/top-level/python-packages.nix+2
maintainers/maintainer-list.nix+6
@@ -7578,6 +7578,12 @@
75787578 fingerprint = "DB43 2895 CF68 F0CE D4B7 EF60 DA01 5B05 B5A1 1B22";
75797579 }];
75807580 };
7581+ milahu = {
7582+ email = "milahu@gmail.com";
7583+ github = "milahu";
7584+ githubId = 12958815;
7585+ name = "Milan Hauth";
7586+ };
75817587 milesbreslin = {
75827588 email = "milesbreslin@gmail.com";
75837589 github = "milesbreslin";
pkgs/development/python-modules/slugid/default.nixnew file+29
@@ -0,0 +1,29 @@
1+{ buildPythonPackage
2+, lib
3+, fetchFromGitHub
4+}:
5+
6+buildPythonPackage rec {
7+ pname = "slugid";
8+ version = "2.0.0";
9+
10+ src = fetchFromGitHub {
11+ owner = "taskcluster";
12+ repo = "slugid.py";
13+ rev = "v${version}";
14+ sha256 = "McBxGRi8KqVhe2Xez5k4G67R5wBCCoh41dRsTKW4xMA=";
15+ };
16+
17+ doCheck = false; # has no tests
18+
19+ pythonImportsCheck = [
20+ "slugid"
21+ ];
22+
23+ meta = with lib; {
24+ description = "URL-safe base64 UUID encoder for generating 22 character slugs";
25+ homepage = "https://github.com/taskcluster/slugid.py";
26+ license = licenses.mpl20;
27+ maintainers = with maintainers; [ milahu ];
28+ };
29+}
pkgs/top-level/python-packages.nix+2
@@ -8635,6 +8635,8 @@ in {
86358635
86368636 slowapi = callPackage ../development/python-modules/slowapi { };
86378637
8638+ slugid = callPackage ../development/python-modules/slugid { };
8639+
86388640 sly = callPackage ../development/python-modules/sly { };
86398641
86408642 smart-meter-texas = callPackage ../development/python-modules/smart-meter-texas { };