summary refs log tree commit diff
path: root/pkgs/development/python-modules/numericalunits/default.nix
blob: 3f041ef698e20046cea376d300b2eb5045070bb0 (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
, isPy3k
}:

buildPythonPackage rec {
  version = "1.24";
  pname = "numericalunits";

  src = fetchPypi {
    inherit pname version;
    sha256 = "0wn7kqp0rxqr6gnqhdn8pc0wy359krzan0kbika6hfvb0c1rw1hs";
  };

  disabled = !isPy3k;

  meta = with stdenv.lib; {
    homepage = http://pypi.python.org/pypi/numericalunits;
    description = "A package that lets you define quantities with unit";
    license = licenses.mit;
    maintainers = [ maintainers.costrouc ];
  };
}