diff --git a/pkgs/development/python-modules/measurement/default.nix b/pkgs/development/python-modules/measurement/default.nix new file mode 100644 index 000000000000..b342086d6556 --- /dev/null +++ b/pkgs/development/python-modules/measurement/default.nix @@ -0,0 +1,20 @@ +{ lib, fetchPypi, buildPythonPackage, pbr, six, sympy }: + +buildPythonPackage rec { + pname = "measurement"; + version = "2.0.1"; + + src = fetchPypi { + inherit pname version; + sha256 = "36ca385ffdccf140a75a7e1d816a4df97a6dd255f16fd2f53dd7ab43632a8835"; + }; + + propagatedBuildInputs = [ pbr six sympy ]; + + meta = with lib; { + description = "Use and manipulate unit-aware measurement objects in Python"; + homepage = https://github.com/coddingtonbear/python-measurement; + license = licenses.mit; + maintainers = with maintainers; [ bhipple ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 39d91233d393..320fba4aede8 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -2454,6 +2454,8 @@ in { python-mapnik = callPackage ../development/python-modules/python-mapnik { }; + measurement = callPackage ../development/python-modules/measurement {}; + midiutil = callPackage ../development/python-modules/midiutil {}; misaka = callPackage ../development/python-modules/misaka {};