mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-19 02:44:17 +03:00
pythonPackages.nimfa: Move to own file.
This commit is contained in:
parent
0d54f987da
commit
b9e126d2d1
30
pkgs/development/python-modules/nimfa/default.nix
Normal file
30
pkgs/development/python-modules/nimfa/default.nix
Normal file
@ -0,0 +1,30 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, numpy
|
||||
, scipy
|
||||
, matplotlib
|
||||
, pytest
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
name = "${pname}-${version}";
|
||||
pname = "nimfa";
|
||||
version = "1.3.1";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "05d0m5n96bg6wj94r7m1har48f93797gk5v9s62zdv7x83a6n6j5";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ numpy scipy ];
|
||||
buildInputs = [ matplotlib pytest ];
|
||||
doCheck = false; # errors
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Nonnegative matrix factorization library";
|
||||
homepage = "http://nimfa.biolab.si";
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ ashgillman ];
|
||||
};
|
||||
}
|
@ -11343,27 +11343,7 @@ in {
|
||||
|
||||
nilearn = callPackage ../development/python-modules/nilearn {};
|
||||
|
||||
nimfa = buildPythonPackage rec {
|
||||
pname = "nimfa";
|
||||
version = "1.3.1";
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "mirror://pypi/n/${pname}/${name}.tar.gz";
|
||||
sha256 = "05d0m5n96bg6wj94r7m1har48f93797gk5v9s62zdv7x83a6n6j5";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = with self; [ numpy scipy ];
|
||||
buildInputs = with self; [ matplotlib pytest ];
|
||||
doCheck = false; # errors
|
||||
|
||||
meta = with pkgs.stdenv.lib; {
|
||||
description = "Nonnegative matrix factorization library";
|
||||
homepage = "http://nimfa.biolab.si";
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ ashgillman ];
|
||||
};
|
||||
};
|
||||
nimfa = callPackage ../development/python-modules/nimfa {};
|
||||
|
||||
nipy = buildPythonPackage rec {
|
||||
version = "0.4.0";
|
||||
|
Loading…
Reference in New Issue
Block a user