mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-06 10:16:44 +01:00
29 lines
572 B
Nix
29 lines
572 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, isPy3k
|
|
, fetchPypi
|
|
, pep8
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "shortuuid";
|
|
version = "1.0.1";
|
|
|
|
disabled = !isPy3k;
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "3c11d2007b915c43bee3e10625f068d8a349e04f0d81f08f5fa08507427ebf1f";
|
|
};
|
|
|
|
buildInputs = [pep8];
|
|
|
|
meta = with lib; {
|
|
description = "A generator library for concise, unambiguous and URL-safe UUIDs";
|
|
homepage = "https://github.com/stochastic-technologies/shortuuid/";
|
|
license = licenses.bsd3;
|
|
maintainers = with maintainers; [ zagy ];
|
|
};
|
|
|
|
}
|