uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
34
pkgs/development/python-modules/ofxtools/default.nix
Normal file
34
pkgs/development/python-modules/ofxtools/default.nix
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, nose
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "ofxtools";
|
||||
version = "0.8.20";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
# PyPI distribution does not include tests
|
||||
src = fetchFromGitHub {
|
||||
owner = "csingley";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "1s3fhhmj1acnmqglh39003db0bi451m4hcrkcpyrkqf5m32lslz8";
|
||||
};
|
||||
|
||||
checkInputs = [ nose ];
|
||||
# override $HOME directory:
|
||||
# error: [Errno 13] Permission denied: '/homeless-shelter'
|
||||
checkPhase = ''
|
||||
HOME=$TMPDIR nosetests tests/*.py
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/csingley/ofxtools";
|
||||
description = "Library for working with Open Financial Exchange (OFX) formatted data used by financial institutions";
|
||||
license = licenses.mit;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue