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
50
pkgs/data/icons/moka-icon-theme/default.nix
Normal file
50
pkgs/data/icons/moka-icon-theme/default.nix
Normal file
|
|
@ -0,0 +1,50 @@
|
|||
{ lib, stdenv, fetchFromGitHub, meson, ninja, gtk3, python3, faba-icon-theme, hicolor-icon-theme, jdupes }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "moka-icon-theme";
|
||||
version = "unstable-2019-05-29";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "snwh";
|
||||
repo = pname;
|
||||
rev = "c0355ea31e5cfdb6b44d8108f602d66817546a09";
|
||||
sha256 = "0m4kfarkl94wdhsds2q1l9x5hfa9l3117l8j6j7qm7sf7yzr90c8";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
meson
|
||||
ninja
|
||||
gtk3
|
||||
python3
|
||||
jdupes
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
faba-icon-theme
|
||||
hicolor-icon-theme
|
||||
];
|
||||
|
||||
dontDropIconThemeCache = true;
|
||||
|
||||
# These fixup steps are slow and unnecessary for this package
|
||||
dontPatchELF = true;
|
||||
dontRewriteSymlinks = true;
|
||||
|
||||
postPatch = ''
|
||||
patchShebangs meson/post_install.py
|
||||
'';
|
||||
|
||||
postInstall = ''
|
||||
# replace duplicate files with symlinks
|
||||
jdupes -l -r $out/share/icons
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Icon theme designed with a minimal flat style using simple geometry and bright colours";
|
||||
homepage = "https://snwh.org/moka";
|
||||
license = with licenses; [ cc-by-sa-40 gpl3Only ];
|
||||
# darwin cannot deal with file names differing only in case
|
||||
platforms = platforms.linux;
|
||||
maintainers = with maintainers; [ romildo ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue