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
65
pkgs/data/themes/canta/default.nix
Normal file
65
pkgs/data/themes/canta/default.nix
Normal file
|
|
@ -0,0 +1,65 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, gdk-pixbuf
|
||||
, librsvg
|
||||
, gtk-engine-murrine
|
||||
, gtk3
|
||||
, gnome
|
||||
, gnome-icon-theme
|
||||
, numix-icon-theme-circle
|
||||
, hicolor-icon-theme
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "canta-theme";
|
||||
version = "2021-09-08";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "vinceliuice";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "05h42nrggb6znzjcbh4lqqfcm41h4r85n3vwimp3l4lq5p90igr2";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
gtk3
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
gdk-pixbuf
|
||||
librsvg
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
gnome.adwaita-icon-theme
|
||||
gnome-icon-theme
|
||||
numix-icon-theme-circle
|
||||
hicolor-icon-theme
|
||||
];
|
||||
|
||||
propagatedUserEnvPkgs = [
|
||||
gtk-engine-murrine
|
||||
];
|
||||
|
||||
dontDropIconThemeCache = true;
|
||||
|
||||
installPhase = ''
|
||||
patchShebangs .
|
||||
mkdir -p $out/share/themes
|
||||
name= ./install.sh --dest $out/share/themes
|
||||
rm $out/share/themes/*/{AUTHORS,COPYING}
|
||||
install -D -t $out/share/backgrounds wallpaper/canta-wallpaper.svg
|
||||
mkdir -p $out/share/icons
|
||||
cp -a icons/Canta $out/share/icons
|
||||
gtk-update-icon-cache $out/share/icons/Canta
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Flat Design theme for GTK based desktop environments";
|
||||
homepage = "https://github.com/vinceliuice/Canta-theme";
|
||||
license = licenses.gpl2Only;
|
||||
platforms = platforms.linux; # numix-icon-theme-circle unavailable in darwin
|
||||
maintainers = [ maintainers.romildo ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue