My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/slugid/default.nix

29 lines
613 B

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