3
0
Fork 0
forked from mirrors/nixpkgs

pythonPackages.ofxparse: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov 2018-10-29 13:16:18 -04:00
parent 04558f25d8
commit 5083413b00
No known key found for this signature in database
GPG key ID: 9ED59B0AB1EAF573
2 changed files with 26 additions and 15 deletions

View file

@ -0,0 +1,25 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, six
, beautifulsoup4
}:
buildPythonPackage rec {
pname = "ofxparse";
version = "0.14";
src = fetchPypi {
inherit pname version;
sha256 = "d8c486126a94d912442d040121db44fbc4a646ea70fa935df33b5b4dbfbbe42a";
};
propagatedBuildInputs = [ six beautifulsoup4 ];
meta = with stdenv.lib; {
homepage = "http://sites.google.com/site/ofxparse";
description = "Tools for working with the OFX (Open Financial Exchange) file format";
license = licenses.mit;
};
}

View file

@ -4413,21 +4413,7 @@ in {
ofxhome = callPackage ../development/python-modules/ofxhome { };
ofxparse = buildPythonPackage rec {
name = "ofxparse-0.14";
src = pkgs.fetchurl {
url = "mirror://pypi/o/ofxparse/${name}.tar.gz";
sha256 = "d8c486126a94d912442d040121db44fbc4a646ea70fa935df33b5b4dbfbbe42a";
};
propagatedBuildInputs = with self; [ six beautifulsoup4 ];
meta = {
homepage = "http://sites.google.com/site/ofxparse";
description = "Tools for working with the OFX (Open Financial Exchange) file format";
license = licenses.mit;
};
};
ofxparse = callPackage ../development/python-modules/ofxparse { };
ofxtools = buildPythonPackage rec {
name = "ofxtools-0.3.8";