nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{ lib
2, buildPythonPackage
3, isPy3k
4, fetchPypi
5, django
6, pep8
7}:
8
9buildPythonPackage rec {
10 pname = "shortuuid";
11 version = "1.0.8";
12
13 disabled = !isPy3k;
14
15 src = fetchPypi {
16 inherit pname version;
17 sha256 = "9435e87e5a64f3b92f7110c81f989a3b7bdb9358e22d2359829167da476cfc23";
18 };
19
20 checkInputs = [
21 django
22 pep8
23 ];
24
25 meta = with lib; {
26 description = "A generator library for concise, unambiguous and URL-safe UUIDs";
27 homepage = "https://github.com/stochastic-technologies/shortuuid/";
28 license = licenses.bsd3;
29 maintainers = with maintainers; [ zagy ];
30 };
31
32}