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
40
pkgs/development/python-modules/pefile/default.nix
Normal file
40
pkgs/development/python-modules/pefile/default.nix
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, future
|
||||
, fetchFromGitHub
|
||||
, setuptools-scm
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pefile";
|
||||
version = "2021.9.3";
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "erocarrera";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "0sr17rmqpr874m8rpkp8xdz8kjshhimbfgq13qy4lscaiznmlf0d";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools-scm
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
future
|
||||
];
|
||||
|
||||
# Test data encrypted
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [ "pefile" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Multi-platform Python module to parse and work with Portable Executable (aka PE) files";
|
||||
homepage = "https://github.com/erocarrera/pefile";
|
||||
license = licenses.mit;
|
||||
maintainers = [ maintainers.pamplemousse ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue