2018-10-11 00:13:07 +02:00
|
|
|
{ stdenv
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
2019-12-09 10:20:00 +01:00
|
|
|
, isPy3k
|
2018-10-11 00:13:07 +02:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2019-12-09 04:31:45 +01:00
|
|
|
version = "1.24";
|
2018-10-11 00:13:07 +02:00
|
|
|
pname = "numericalunits";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-12-09 04:31:45 +01:00
|
|
|
sha256 = "0wn7kqp0rxqr6gnqhdn8pc0wy359krzan0kbika6hfvb0c1rw1hs";
|
2018-10-11 00:13:07 +02:00
|
|
|
};
|
|
|
|
|
2019-12-09 10:20:00 +01:00
|
|
|
disabled = !isPy3k;
|
2018-10-11 00:13:07 +02:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "http://pypi.python.org/pypi/numericalunits";
|
2018-10-11 00:13:07 +02:00
|
|
|
description = "A package that lets you define quantities with unit";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = [ maintainers.costrouc ];
|
|
|
|
};
|
|
|
|
}
|