about summary refs log tree commit diff
path: root/pkgs/development/python-modules/measurement
diff options
context:
space:
mode:
authorBenjamin Hipple <bhipple@protonmail.com>2019-07-07 15:09:17 -0400
committerBenjamin Hipple <bhipple@protonmail.com>2019-07-27 14:35:07 -0400
commit34f31030b1f8b32ad3889f7adb0150900174293d (patch)
tree99bc0d248168c4157bd47b2e94f5cc986dd32658 /pkgs/development/python-modules/measurement
parentecc48146daa9a338a643bf858ac61b882d40331f (diff)
downloadnixlib-34f31030b1f8b32ad3889f7adb0150900174293d.tar
nixlib-34f31030b1f8b32ad3889f7adb0150900174293d.tar.gz
nixlib-34f31030b1f8b32ad3889f7adb0150900174293d.tar.bz2
nixlib-34f31030b1f8b32ad3889f7adb0150900174293d.tar.lz
nixlib-34f31030b1f8b32ad3889f7adb0150900174293d.tar.xz
nixlib-34f31030b1f8b32ad3889f7adb0150900174293d.tar.zst
nixlib-34f31030b1f8b32ad3889f7adb0150900174293d.zip
pythonPackages.measurement: init at 2.0.1
Diffstat (limited to 'pkgs/development/python-modules/measurement')
-rw-r--r--pkgs/development/python-modules/measurement/default.nix20
1 files changed, 20 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 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 ];
+  };
+}