From 242e37800b2968380212211af62b1c18e2ad74c2 Mon Sep 17 00:00:00 2001 From: Adam Washington Date: Fri, 9 Mar 2018 11:57:28 +0000 Subject: [PATCH] pythonPackage.bumps: init at 0.7.6 This package is required by SasView, which will be added in a later commit. --- .../python-modules/bumps/default.nix | 25 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 ++ 2 files changed, 27 insertions(+) create mode 100644 pkgs/development/python-modules/bumps/default.nix 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; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 298c8145b0ee..8759680e5e7a 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -1321,6 +1321,8 @@ in { enablePython = true; }); + bumps = callPackage ../development/python-modules/bumps {}; + buttersink = buildPythonPackage rec { name = "buttersink-0.6.8";