Files
nixpkgs/pkgs/development/python-modules/slugid/default.nix
Wolfgang Walther c283f32d29 treewide: remove unused with
Auto-fixed by nixf-diagnose.
2025-10-05 10:50:41 +02:00

30 lines
612 B
Nix

{
buildPythonPackage,
lib,
fetchFromGitHub,
}:
buildPythonPackage rec {
pname = "slugid";
version = "2.0.0";
format = "setuptools";
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 = [ ];
};
}