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
38
pkgs/development/python-modules/py3buddy/default.nix
Normal file
38
pkgs/development/python-modules/py3buddy/default.nix
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
{ lib, stdenv
|
||||
, fetchFromGitHub
|
||||
, python
|
||||
, pyusb
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "py3buddy";
|
||||
version = "unstable-2019-09-29";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "armijnhemel";
|
||||
repo = pname;
|
||||
rev = "2b28908454645117368ca56df67548c93f4e0b03";
|
||||
sha256 = "12ar4kbplavndarkrbibxi5i607f5sfia5myscvalqy78lc33798";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ pyusb ];
|
||||
|
||||
dontConfigure = true;
|
||||
dontBuild = true;
|
||||
dontCheck = true;
|
||||
|
||||
installPhase = ''
|
||||
install -D py3buddy.py $out/${python.sitePackages}/py3buddy.py
|
||||
'';
|
||||
|
||||
postInstall = ''
|
||||
install -D 99-ibuddy.rules $out/lib/udev/rules.d/99-ibuddy.rules
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Code to work with the iBuddy MSN figurine";
|
||||
homepage = "https://github.com/armijnhemel/py3buddy";
|
||||
license = with licenses; [ mit ];
|
||||
maintainers = with maintainers; [ prusnak ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue