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:
Anton Arapov 2021-04-03 12:58:10 +02:00 committed by Alan Daniels
commit 56de2bcd43
30691 changed files with 3076956 additions and 0 deletions

View file

@ -0,0 +1,27 @@
{ lib, stdenv, fetchFromGitHub, ... }:
stdenv.mkDerivation rec {
pname = "nullidentdmod";
version = "1.3";
src = fetchFromGitHub {
owner = "Acidhub";
repo = "nullidentdmod";
rev = "v${version}";
sha256 = "1ahwm5pyidc6m07rh5ls2lc25kafrj233nnbcybprgl7bqdq1b0k";
};
installPhase = ''
mkdir -p $out/bin
install -Dm755 nullidentdmod $out/bin
'';
meta = with lib; {
description = "Simple identd that just replies with a random string or customized userid";
license = licenses.gpl2;
homepage = "http://acidhub.click/NullidentdMod";
maintainers = with maintainers; [ das_j ];
platforms = platforms.linux; # Must be run by systemd
};
}

View file

@ -0,0 +1,19 @@
{ lib, stdenv, fetchurl, bison, flex }:
stdenv.mkDerivation rec {
pname = "oidentd";
version = "3.0.0";
nativeBuildInputs = [ bison flex ];
src = fetchurl {
url = "https://files.janikrabe.com/pub/oidentd/releases/${version}/${pname}-${version}.tar.gz";
sha256 = "sha256-j+ekHTUf4Ny4a43/FoSARDowWTglJmvqrY3PlF2Jnio=";
};
meta = with lib; {
description = "Configurable Ident protocol server";
homepage = "https://oidentd.janikrabe.com/";
license = licenses.gpl2;
platforms = platforms.linux;
};
}