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
27
pkgs/development/python-modules/gflags/default.nix
Normal file
27
pkgs/development/python-modules/gflags/default.nix
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
{ lib, buildPythonPackage, fetchPypi, six, pytest }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "3.1.2";
|
||||
pname = "python-gflags";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "40ae131e899ef68e9e14aa53ca063839c34f6a168afe622217b5b875492a1ee2";
|
||||
};
|
||||
|
||||
checkInputs = [ pytest ];
|
||||
|
||||
propagatedBuildInputs = [ six ];
|
||||
|
||||
checkPhase = ''
|
||||
# clashes with our pythhon wrapper (which is in argv0)
|
||||
# AssertionError: 'gflags._helpers_test' != 'nix_run_setup.py'
|
||||
py.test -k 'not testGetCallingModule'
|
||||
'';
|
||||
|
||||
meta = {
|
||||
homepage = "https://github.com/google/python-gflags";
|
||||
description = "A module for command line handling, similar to Google's gflags for C++";
|
||||
license = lib.licenses.bsd3;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue