mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-18 03:34:58 +00:00
02dab4ab5c
Long term we should move everything over to `pyproject = true`, but in the mean time we can work towards deprecating the implicit `format` paremeter. cc https://github.com/NixOS/nixpkgs/issues/253154 cc @mweinelt @figsoda
31 lines
638 B
Nix
31 lines
638 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 = with maintainers; [ milahu ];
|
|
};
|
|
}
|