summary refs log tree commit diff
path: root/pkgs/development/python-modules/bumps/default.nix
diff options
context:
space:
mode:
authorAdam Washington <adam.washington@stfc.ac.uk>2018-03-09 11:57:28 +0000
committerAdam Washington <adam.washington@stfc.ac.uk>2018-03-09 11:57:28 +0000
commit242e37800b2968380212211af62b1c18e2ad74c2 (patch)
treecabd3cf4ec36faa5d713ab899c6fed79a8f0c8bd /pkgs/development/python-modules/bumps/default.nix
parentdb2e6b6e9a98b7432e29d57dbd3340124a0dc9bd (diff)
downloadnixlib-242e37800b2968380212211af62b1c18e2ad74c2.tar
nixlib-242e37800b2968380212211af62b1c18e2ad74c2.tar.gz
nixlib-242e37800b2968380212211af62b1c18e2ad74c2.tar.bz2
nixlib-242e37800b2968380212211af62b1c18e2ad74c2.tar.lz
nixlib-242e37800b2968380212211af62b1c18e2ad74c2.tar.xz
nixlib-242e37800b2968380212211af62b1c18e2ad74c2.tar.zst
nixlib-242e37800b2968380212211af62b1c18e2ad74c2.zip
pythonPackage.bumps: init at 0.7.6
This package is required by SasView, which will be added in a later commit.
Diffstat (limited to 'pkgs/development/python-modules/bumps/default.nix')
-rw-r--r--pkgs/development/python-modules/bumps/default.nix25
1 files changed, 25 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/bumps/default.nix b/pkgs/development/python-modules/bumps/default.nix
new file mode 100644
index 000000000000..f7ba5f3626c1
--- /dev/null
+++ b/pkgs/development/python-modules/bumps/default.nix
@@ -0,0 +1,25 @@
+{ stdenv, buildPythonPackage, fetchPypi, six}:
+
+buildPythonPackage rec {
+  name = "${pname}-${version}";
+  pname = "bumps";
+  version = "0.7.6";
+
+  propagatedBuildInputs = [six];
+
+  # Bumps does not provide its own tests.py, so the test
+  # always fails
+  doCheck = false;
+
+  src = fetchPypi {
+    inherit pname version;
+    sha256 = "1ahzw8ls9wsz2ks668s15zskyykib52fhi07mg50hp7lw9avqb5k";
+  };
+
+  meta = with stdenv.lib; {
+    homepage = http://www.reflectometry.org/danse/software.html;
+    description = "Data fitting with bayesian uncertainty analysis";
+    maintainers = with maintainers; [ rprospero ];
+    license = licenses.publicDomain;
+  };
+}