pythonPackages.Pweave: refactor move to python-modules
This commit is contained in:
parent
c878599aab
commit
e186e5a5ed
30
pkgs/development/python-modules/pweave/default.nix
Normal file
30
pkgs/development/python-modules/pweave/default.nix
Normal file
@ -0,0 +1,30 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, mock
|
||||
, matplotlib
|
||||
, pkgs
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "Pweave";
|
||||
version = "0.25";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1isqjz66c7vxdaqfwpkspki9p4054dsfx7pznwz28ik634hnj3qw";
|
||||
};
|
||||
|
||||
buildInputs = [ mock pkgs.glibcLocales ];
|
||||
propagatedBuildInputs = [ matplotlib ];
|
||||
|
||||
# fails due to trying to run CSS as test
|
||||
doCheck = false;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Scientific reports with embedded python computations with reST, LaTeX or markdown";
|
||||
homepage = http://mpastell.com/pweave/ ;
|
||||
license = licenses.bsd3;
|
||||
};
|
||||
|
||||
}
|
@ -3900,29 +3900,7 @@ in {
|
||||
|
||||
spotipy = callPackage ../development/python-modules/spotipy { };
|
||||
|
||||
Pweave = buildPythonPackage (rec {
|
||||
name = "Pweave-0.25";
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "https://pypi.python.org/packages/f6/2f/e9735b04747ae5ef29d64e0b215fb0e11f1c89826097ac17342efebbbb84/Pweave-0.25.tar.gz";
|
||||
sha256 = "1isqjz66c7vxdaqfwpkspki9p4054dsfx7pznwz28ik634hnj3qw";
|
||||
};
|
||||
|
||||
buildInputs = with self; [ mock pkgs.glibcLocales ];
|
||||
|
||||
propagatedBuildInputs = with self; [
|
||||
matplotlib
|
||||
];
|
||||
|
||||
# fails due to trying to run CSS as test
|
||||
doCheck = false;
|
||||
|
||||
meta = {
|
||||
description = "Scientific reports with embedded python computations with reST, LaTeX or markdown";
|
||||
homepage = http://mpastell.com/pweave/ ;
|
||||
license = licenses.bsd3;
|
||||
};
|
||||
});
|
||||
Pweave = callPackage ../development/python-modules/pweave { };
|
||||
|
||||
sqlalchemy = callPackage ../development/python-modules/sqlalchemy { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user