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
45
pkgs/data/icons/papirus-maia-icon-theme/default.nix
Normal file
45
pkgs/data/icons/papirus-maia-icon-theme/default.nix
Normal file
|
|
@ -0,0 +1,45 @@
|
|||
{ lib, stdenv, fetchFromGitHub, cmake, gtk3, breeze-icons, gnome-icon-theme, papirus-icon-theme, hicolor-icon-theme }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "papirus-maia-icon-theme";
|
||||
version = "2019-07-26";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Ste74";
|
||||
repo = pname;
|
||||
rev = "90d47c817cc0edeed8b5a90335e669948ff4a116";
|
||||
sha256 = "0d6lvdg5nw5wfaq8lxszcws174vg12ywkrqzn6czimhmhp48jf5p";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
gtk3
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
breeze-icons
|
||||
gnome-icon-theme
|
||||
papirus-icon-theme
|
||||
hicolor-icon-theme
|
||||
];
|
||||
|
||||
dontDropIconThemeCache = true;
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace CMakeLists.txt --replace /usr "$out"
|
||||
'';
|
||||
|
||||
postInstall = ''
|
||||
for theme in $out/share/icons/*; do
|
||||
gtk-update-icon-cache $theme
|
||||
done
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Manjaro variation of Papirus icon theme";
|
||||
homepage = "https://github.com/Ste74/papirus-maia-icon-theme";
|
||||
license = licenses.lgpl3;
|
||||
platforms = platforms.linux;
|
||||
maintainers = with maintainers; [ romildo ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue