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,49 @@
{ lib
, stdenvNoCC
, fetchFromGitHub
, nix-update-script
, gettext
, meson
, ninja
, python3
, sassc
}:
stdenvNoCC.mkDerivation rec {
pname = "elementary-gtk-theme";
version = "7.0.0";
src = fetchFromGitHub {
owner = "elementary";
repo = "stylesheet";
rev = version;
sha256 = "sha256-ZnQ54ktH0/ZyFH6c180YzbkK/TyIDziiwAXi/zqHpe4=";
};
nativeBuildInputs = [
gettext
meson
ninja
python3
sassc
];
postPatch = ''
chmod +x meson/install-to-dir.py
patchShebangs meson/install-to-dir.py
'';
passthru = {
updateScript = nix-update-script {
attrPath = "pantheon.${pname}";
};
};
meta = with lib; {
description = "GTK theme designed to be smooth, attractive, fast, and usable";
homepage = "https://github.com/elementary/stylesheet";
license = licenses.gpl3Plus;
platforms = platforms.linux;
maintainers = teams.pantheon.members;
};
}

View file

@ -0,0 +1,68 @@
{ lib
, stdenvNoCC
, fetchFromGitHub
, nix-update-script
, meson
, python3
, ninja
, hicolor-icon-theme
, gtk3
, xcursorgen
, librsvg
}:
stdenvNoCC.mkDerivation rec {
pname = "elementary-icon-theme";
version = "7.0.0";
src = fetchFromGitHub {
owner = "elementary";
repo = "icons";
rev = version;
sha256 = "sha256-tyhKhZPoZ8xVy1KVUWd8BK2meTT3Z6qM787spjE+NL8=";
};
nativeBuildInputs = [
gtk3
librsvg
meson
ninja
python3
xcursorgen
];
propagatedBuildInputs = [
hicolor-icon-theme
];
dontDropIconThemeCache = true;
mesonFlags = [
"-Dvolume_icons=false" # Tries to install some icons to /
"-Dpalettes=false" # Don't install gimp and inkscape palette files
];
postPatch = ''
chmod +x meson/symlink.py
patchShebangs meson/symlink.py
'';
postFixup = "gtk-update-icon-cache $out/share/icons/elementary";
passthru = {
updateScript = nix-update-script {
attrPath = "pantheon.${pname}";
};
};
meta = with lib; {
description = "Named, vector icons for elementary OS";
longDescription = ''
An original set of vector icons designed specifically for elementary OS and its desktop environment: Pantheon.
'';
homepage = "https://github.com/elementary/icons";
license = licenses.gpl3Plus;
platforms = platforms.linux;
maintainers = teams.pantheon.members;
};
}

View file

@ -0,0 +1,38 @@
{ lib
, stdenv
, fetchFromGitHub
, nix-update-script
}:
stdenv.mkDerivation rec {
pname = "elementary-redacted-script";
version = "5.1.0";
src = fetchFromGitHub {
owner = "elementary";
repo = "fonts";
rev = version;
sha256 = "sha256-YiE7yaH0ZrF1/Cp+3bcJYm2cExQjFcat6JLMJPjhops=";
};
dontBuild = true;
installPhase = ''
mkdir -p $out/share/fonts/truetype/redacted-elementary
cp -a redacted/*.ttf $out/share/fonts/truetype/redacted-elementary
'';
passthru = {
updateScript = nix-update-script {
attrPath = "pantheon.${pname}";
};
};
meta = with lib; {
description = "Font for concealing text";
homepage = "https://github.com/elementary/fonts";
license = licenses.ofl;
maintainers = teams.pantheon.members;
platforms = platforms.linux;
};
}

View file

@ -0,0 +1,40 @@
{ lib
, stdenv
, fetchFromGitHub
, nix-update-script
, meson
, ninja
, pkg-config
}:
stdenv.mkDerivation rec {
pname = "elementary-sound-theme";
version = "1.1.0";
src = fetchFromGitHub {
owner = "elementary";
repo = "sound-theme";
rev = version;
sha256 = "sha256-fR6gtKx9J6o2R1vQZ5yx4kEX3Ak+q8I6hRVMZzyB2E8=";
};
nativeBuildInputs = [
meson
ninja
pkg-config
];
passthru = {
updateScript = nix-update-script {
attrPath = "pantheon.${pname}";
};
};
meta = with lib; {
description = "A set of system sounds for elementary";
homepage = "https://github.com/elementary/sound-theme";
license = licenses.unlicense;
platforms = platforms.linux;
maintainers = teams.pantheon.members;
};
}

View file

@ -0,0 +1,48 @@
{ lib
, stdenv
, fetchFromGitHub
, nix-update-script
, gettext
, meson
, ninja
, python3
}:
stdenv.mkDerivation rec {
pname = "elementary-wallpapers";
version = "6.1.0";
src = fetchFromGitHub {
owner = "elementary";
repo = "wallpapers";
rev = version;
sha256 = "sha256-E/cUxa/GNt/01EjuuvurHxJu3qV9e+jcdcCi2+NxVDA=";
};
nativeBuildInputs = [
gettext
meson
ninja
python3
];
postPatch = ''
chmod +x meson/symlink.py
patchShebangs meson/symlink.py
'';
passthru = {
updateScript = nix-update-script {
attrPath = "pantheon.${pname}";
};
};
meta = with lib; {
description = "Collection of wallpapers for elementary";
homepage = "https://github.com/elementary/wallpapers";
license = licenses.publicDomain;
platforms = platforms.linux;
maintainers = teams.pantheon.members;
};
}