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
32
pkgs/tools/misc/woof/default.nix
Normal file
32
pkgs/tools/misc/woof/default.nix
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
{ lib, stdenv, fetchFromGitHub, python3 }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "2020-12-17";
|
||||
pname = "woof";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "simon-budig";
|
||||
repo = "woof";
|
||||
rev = "4aab9bca5b80379522ab0bdc5a07e4d652c375c5";
|
||||
sha256 = "0ypd2fs8isv6bqmlrdl2djgs5lnk91y1c3rn4ar6sfkpsqp9krjn";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ python3 ];
|
||||
|
||||
dontUnpack = true;
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin
|
||||
cp $src/woof $out/bin/woof
|
||||
chmod +x $out/bin/woof
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "http://www.home.unix-ag.org/simon/woof.html";
|
||||
description = "Web Offer One File - Command-line utility to easily exchange files over a local network";
|
||||
license = lib.licenses.gpl2Plus;
|
||||
platforms = lib.platforms.unix;
|
||||
maintainers = with maintainers; [ matthiasbeyer ];
|
||||
};
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue