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
21
pkgs/development/python-modules/i2c-tools/default.nix
Normal file
21
pkgs/development/python-modules/i2c-tools/default.nix
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, i2c-tools
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
inherit (i2c-tools) pname version src;
|
||||
|
||||
buildInputs = [ i2c-tools ];
|
||||
|
||||
preConfigure = "cd py-smbus";
|
||||
|
||||
meta = with lib; {
|
||||
inherit (i2c-tools.meta) homepage platforms;
|
||||
|
||||
description = "wrapper for i2c-tools' smbus stuff";
|
||||
# from py-smbus/smbusmodule.c
|
||||
license = [ licenses.gpl2Only ];
|
||||
maintainers = [ maintainers.evils ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue