summary refs log tree commit diff
path: root/pkgs/development/python-modules/random2/default.nix
blob: ecc049b34f468e998309f00fb0328db7e4ab6295 (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
{ stdenv
, buildPythonPackage
, fetchPypi
, isPyPy
}:

buildPythonPackage rec {
  pname = "random2";
  version = "1.0.1";
  doCheck = !isPyPy;

  src = fetchPypi {
    inherit pname version;
    extension = "zip";
    sha256 = "34ad30aac341039872401595df9ab2c9dc36d0b7c077db1cea9ade430ed1c007";
  };

  meta = with stdenv.lib; {
    homepage = http://pypi.python.org/pypi/random2;
    description = "Python 3 compatible Python 2 `random` Module";
    license = licenses.psfl;
  };

}