git.iko.soy/typeable/nixpkgs
on master help sign in
mdp: disable tests
commit140136ad9567a23b0d88ca014b2604e1820d74f2 authorSamuel Leathers <sam@appliedtrust.com> dateThu 14 Sep 2017, 13:15 (9 years ago) parent47e1751
2 files changed+26−21
pkgs/development/python-modules/mdp/default.nix+25 pkgs/top-level/python-packages.nix+1−21
pkgs/development/python-modules/mdp/default.nixnew file+25
@@ -0,0 +1,25 @@
1+{ stdenv, buildPythonPackage, fetchPypi, pytest_29, future, numpy }:
2+
3+buildPythonPackage rec {
4+ pname = "MDP";
5+ version = "3.5";
6+ name = "${pname}-${version}";
7+
8+ src = fetchPypi {
9+ inherit pname version;
10+ sha256 = "0aw1zxmyvx6gfmmnixbqmdaah28jl7rmqkzhxv53091asc23iw9k";
11+ };
12+
13+ checkInputs = [ pytest_29 ];
14+ propagatedBuildInputs = [ future numpy ];
15+
16+ # Tests disabled because of missing dependencies not in nix
17+ doCheck = false;
18+
19+ meta = with stdenv.lib; {
20+ description = "Library for building complex data processing software by combining widely used machine learning algorithms";
21+ homepage = http://mdp-toolkit.sourceforge.net;
22+ license = licenses.bsd3;
23+ maintainers = with maintainers; [ nico202 ];
24+ };
25+}
pkgs/top-level/python-packages.nix+1−21
@@ -3626,27 +3626,7 @@ in {
36263626 };
36273627 };
36283628
3629− MDP = buildPythonPackage rec {
3630− version = "3.5";
3631− name = "MDP-${version}";
3632−
3633− src = pkgs.fetchurl {
3634− url = "https://pypi.python.org/packages/source/M/MDP/${name}.tar.gz";
3635− sha256 = "0aw1zxmyvx6gfmmnixbqmdaah28jl7rmqkzhxv53091asc23iw9k";
3636− };
3637−
3638− buildInputs = with self; [ pytest_29 ];
3639− propagatedBuildInputs = with self; [ future numpy ];
3640−
3641− doCheck = true;
3642−
3643− meta = {
3644− description = "Library for building complex data processing software by combining widely used machine learning algorithms";
3645− homepage = http://mdp-toolkit.sourceforge.net;
3646− license = licenses.bsd3;
3647− maintainers = with maintainers; [ nico202 ];
3648− };
3649− };
3629+ MDP = callPackage ../development/python-modules/mdp {};
36503630
36513631 minidb = buildPythonPackage rec {
36523632 name = "minidb-2.0.1";