forked from mirrors/nixpkgs
pythonPackages.ofxparse: refactor move to python-modules
This commit is contained in:
parent
04558f25d8
commit
5083413b00
25
pkgs/development/python-modules/ofxparse/default.nix
Normal file
25
pkgs/development/python-modules/ofxparse/default.nix
Normal 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;
|
||||
};
|
||||
|
||||
}
|
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue