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
39
pkgs/desktops/gnome/games/four-in-a-row/default.nix
Normal file
39
pkgs/desktops/gnome/games/four-in-a-row/default.nix
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
{ lib, stdenv, fetchurl, pkg-config, gnome, gtk3, wrapGAppsHook
|
||||
, gettext, meson, gsound, librsvg, itstool, vala
|
||||
, python3, ninja, desktop-file-utils }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "four-in-a-row";
|
||||
version = "3.38.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnome/sources/four-in-a-row/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
||||
sha256 = "10ji60bdfdzb6wk5dkwjc3yww7hqi3yjcx1k1z7x2521h2dpdli1";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config wrapGAppsHook gettext meson itstool vala
|
||||
ninja python3 desktop-file-utils
|
||||
];
|
||||
buildInputs = [ gtk3 gsound librsvg gnome.adwaita-icon-theme ];
|
||||
|
||||
postPatch = ''
|
||||
chmod +x build-aux/meson_post_install.py
|
||||
patchShebangs build-aux/meson_post_install.py
|
||||
'';
|
||||
|
||||
passthru = {
|
||||
updateScript = gnome.updateScript {
|
||||
packageName = "four-in-a-row";
|
||||
attrPath = "gnome.four-in-a-row";
|
||||
};
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://wiki.gnome.org/Apps/Four-in-a-row";
|
||||
description = "Make lines of the same color to win";
|
||||
maintainers = teams.gnome.members;
|
||||
license = licenses.gpl2;
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue