diff options
author | Benjamin Hipple <bhipple@protonmail.com> | 2019-07-07 15:09:17 -0400 |
---|---|---|
committer | Benjamin Hipple <bhipple@protonmail.com> | 2019-07-27 14:35:07 -0400 |
commit | 34f31030b1f8b32ad3889f7adb0150900174293d (patch) | |
tree | 99bc0d248168c4157bd47b2e94f5cc986dd32658 | |
parent | ecc48146daa9a338a643bf858ac61b882d40331f (diff) | |
download | nixpkgs-34f31030b1f8b32ad3889f7adb0150900174293d.tar nixpkgs-34f31030b1f8b32ad3889f7adb0150900174293d.tar.gz nixpkgs-34f31030b1f8b32ad3889f7adb0150900174293d.tar.bz2 nixpkgs-34f31030b1f8b32ad3889f7adb0150900174293d.tar.lz nixpkgs-34f31030b1f8b32ad3889f7adb0150900174293d.tar.xz nixpkgs-34f31030b1f8b32ad3889f7adb0150900174293d.tar.zst nixpkgs-34f31030b1f8b32ad3889f7adb0150900174293d.zip |
pythonPackages.measurement: init at 2.0.1
-rw-r--r-- | pkgs/development/python-modules/measurement/default.nix | 20 | ||||
-rw-r--r-- | pkgs/top-level/python-packages.nix | 2 |
2 files changed, 22 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/measurement/default.nix b/pkgs/development/python-modules/measurement/default.nix new file mode 100644 index 00000000000..b342086d655 --- /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 39d91233d39..320fba4aede 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 {}; |