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
36
pkgs/development/python-modules/etcd/default.nix
Normal file
36
pkgs/development/python-modules/etcd/default.nix
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, simplejson
|
||||
, pytz
|
||||
, requests
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "etcd";
|
||||
version = "2.0.8";
|
||||
|
||||
# PyPI package is incomplete
|
||||
src = fetchFromGitHub {
|
||||
owner = "dsoprea";
|
||||
repo = "PythonEtcdClient";
|
||||
rev = version;
|
||||
sha256 = "sha256-h+jYIRSNdrGkW3tBV1ifIDEXU46EQGyeJoz/Mxym4pI=";
|
||||
};
|
||||
|
||||
patchPhase = ''
|
||||
sed -i -e '13,14d;37d' setup.py
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [ simplejson pytz requests ];
|
||||
|
||||
# No proper tests are available
|
||||
doCheck = false;
|
||||
|
||||
meta = with lib; {
|
||||
description = "A Python etcd client that just works";
|
||||
homepage = "https://github.com/dsoprea/PythonEtcdClient";
|
||||
license = licenses.gpl2;
|
||||
};
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue