From 66fd7d2baad83ab0737cca6e1498f7660e631808 Mon Sep 17 00:00:00 2001 From: Tom Saeger Date: Mon, 9 Oct 2017 21:23:05 -0500 Subject: [PATCH] pythonPackages.ofxhome: 0.3.1 -> 0.3.3 --- .../python-modules/ofxhome/default.nix | 23 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 19 +-------------- 2 files changed, 24 insertions(+), 18 deletions(-) create mode 100644 pkgs/development/python-modules/ofxhome/default.nix diff --git a/pkgs/development/python-modules/ofxhome/default.nix b/pkgs/development/python-modules/ofxhome/default.nix new file mode 100644 index 00000000000..3d412e1409c --- /dev/null +++ b/pkgs/development/python-modules/ofxhome/default.nix @@ -0,0 +1,23 @@ +{ stdenv, buildPythonPackage, fetchPypi, nose }: + +buildPythonPackage rec { + name = "${pname}-${version}"; + version = "0.3.3"; + pname = "ofxhome"; + + src = fetchPypi { + inherit pname version; + sha256 = "1rpyfqr2q9pnin47rjd4qapl8ngk1m9jx36iqckhdhr8s8gla445"; + }; + + buildInputs = [ nose ]; + + # ImportError: No module named tests + doCheck = false; + + meta = with stdenv.lib; { + homepage = "https://github.com/captin411/ofxhome"; + description = "ofxhome.com financial institution lookup REST client"; + license = licenses.mit; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 4a34b22482e..a433265b4a8 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -24793,24 +24793,7 @@ EOF propagatedBuildInputs = with self; [ ofxhome ofxparse beautifulsoup keyring ]; }; - ofxhome = buildPythonPackage rec { - name = "ofxhome-0.3.1"; - src = pkgs.fetchurl { - url = "mirror://pypi/o/ofxhome/${name}.tar.gz"; - sha256 = "0000db437fd1a8c7c65cea5d88ce9d3b54642a1f4844dde04f860e29330ac68d"; - }; - - buildInputs = with self; [ nose ]; - - # ImportError: No module named tests - doCheck = false; - - meta = { - homepage = "https://github.com/captin411/ofxhome"; - description = "ofxhome.com financial institution lookup REST client"; - license = licenses.mit; - }; - }; + ofxhome = callPackage ../development/python-modules/ofxhome { }; ofxparse = buildPythonPackage rec { name = "ofxparse-0.14";