about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/shortuuid/default.nix
blob: 4fec2a3f04c003cdc00940c0f1f8f27987c7f8a1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{ stdenv
, 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 stdenv.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 ];
  };

}