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
35
pkgs/development/python-modules/blockchain/default.nix
Normal file
35
pkgs/development/python-modules/blockchain/default.nix
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, future
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "blockchain";
|
||||
version = "1.4.4";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1qpbmz6dk5gx1996dswpipwhj6sp5j0dlfap012l46zqnvmkxanv";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace setup.py --replace "enum-compat" ""
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [
|
||||
future
|
||||
];
|
||||
|
||||
# tests are interacting with the API and not mocking the calls
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [ "blockchain" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python client Blockchain Bitcoin Developer API";
|
||||
homepage = "https://github.com/blockchain/api-v1-client-python";
|
||||
license = with licenses; [ mit ];
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue