summary refs log tree commit diff
path: root/pkgs/development/python-modules
diff options
context:
space:
mode:
authorwisut hantanong <wizzup@gmail.com>2017-08-31 21:02:44 +0700
committerwisut hantanong <wizzup@gmail.com>2017-08-31 21:18:41 +0700
commitb9eebaf8bbcc9d01beb04146ae5f8ab9069715d9 (patch)
treeff1a9ac92a9686685a69ec78ec2101ce84362834 /pkgs/development/python-modules
parent80ca1cae8b72767e2b27164e8c499e7ac894f36a (diff)
downloadnixlib-b9eebaf8bbcc9d01beb04146ae5f8ab9069715d9.tar
nixlib-b9eebaf8bbcc9d01beb04146ae5f8ab9069715d9.tar.gz
nixlib-b9eebaf8bbcc9d01beb04146ae5f8ab9069715d9.tar.bz2
nixlib-b9eebaf8bbcc9d01beb04146ae5f8ab9069715d9.tar.lz
nixlib-b9eebaf8bbcc9d01beb04146ae5f8ab9069715d9.tar.xz
nixlib-b9eebaf8bbcc9d01beb04146ae5f8ab9069715d9.tar.zst
nixlib-b9eebaf8bbcc9d01beb04146ae5f8ab9069715d9.zip
pythonPackages.pyrr : move to separate expression
Diffstat (limited to 'pkgs/development/python-modules')
-rw-r--r--pkgs/development/python-modules/pyrr/default.nix22
1 files changed, 22 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/pyrr/default.nix b/pkgs/development/python-modules/pyrr/default.nix
new file mode 100644
index 000000000000..fba7a0b27dd9
--- /dev/null
+++ b/pkgs/development/python-modules/pyrr/default.nix
@@ -0,0 +1,22 @@
+{ stdenv, buildPythonPackage, fetchPypi
+, setuptools, multipledispatch, numpy }:
+
+buildPythonPackage rec {
+  version = "0.7.2";
+  pname = "pyrr";
+  name = "${pname}-${version}";
+
+  src = fetchPypi {
+    inherit pname version;
+    sha256 = "04a65a9fb5c746b41209f55b21abf47a0ef80a4271159d670ca9579d9be3b4fa";
+  };
+
+  buildInputs = [ setuptools ];
+  propagatedBuildInputs = [ multipledispatch numpy ];
+
+  meta = with stdenv.lib; {
+    description = "3D mathematical functions using NumPy";
+    homepage = https://github.com/adamlwgriffiths/Pyrr/;
+    license = licenses.bsd2;
+  };
+}