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