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,45 @@
{ lib, stdenv, fetchurl, gtk-engine-murrine }:
stdenv.mkDerivation rec {
pname = "juno";
version = "0.0.1";
srcs = [
(fetchurl {
url = "https://github.com/gvolpe/Juno/releases/download/${version}/Juno.tar.xz";
sha256 = "1cghsn9qagcf1nlga5cal0aqch6hkjm5wk6ja791zxhdqy3crx1i";
})
(fetchurl {
url = "https://github.com/gvolpe/Juno/releases/download/${version}/Juno-mirage.tar.xz";
sha256 = "0zh6bc85svmwh8qrhpn8mim0pj322x2x2i9sxnp7p1938p5z5m2b";
})
(fetchurl {
url = "https://github.com/gvolpe/Juno/releases/download/${version}/Juno-ocean.tar.xz";
sha256 = "0m2wgmcn12dfq5badzlpzjc8792ba9hi32c79vfvqawdn1q3hrdx";
})
(fetchurl {
url = "https://github.com/gvolpe/Juno/releases/download/${version}/Juno-palenight.tar.xz";
sha256 = "1hn2l0m76x61ixjd253hi7czm65asdjdhqvvlv7idbccc40pvrak";
})
];
sourceRoot = ".";
propagatedUserEnvPkgs = [ gtk-engine-murrine ];
installPhase = ''
runHook preInstall
mkdir -p $out/share/themes
cp -a Juno* $out/share/themes
rm $out/share/themes/*/{LICENSE,README.md}
runHook postInstall
'';
meta = with lib; {
description = "GTK themes inspired by epic vscode themes";
homepage = "https://github.com/EliverLara/Juno";
license = licenses.gpl3Only;
platforms = platforms.all;
maintainers = [ maintainers.gvolpe ];
};
}