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
49
pkgs/applications/misc/nwg-drawer/default.nix
Normal file
49
pkgs/applications/misc/nwg-drawer/default.nix
Normal file
|
|
@ -0,0 +1,49 @@
|
|||
{ lib
|
||||
, buildGoModule
|
||||
, fetchFromGitHub
|
||||
, cairo
|
||||
, gobject-introspection
|
||||
, gtk3
|
||||
, gtk-layer-shell
|
||||
, pkg-config
|
||||
, wrapGAppsHook
|
||||
, xdg-utils }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "nwg-drawer";
|
||||
version = "0.2.8";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "nwg-piotr";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-YhCMOktfsSb7GrKA8reZb+QHcNS/Lpd0hCaPqnWvL7w=";
|
||||
};
|
||||
|
||||
vendorSha256 = "sha256-Twipdrt3XZVrzJvElEGbKaJRMnop8fIFMFnriPTSS14=";
|
||||
|
||||
buildInputs = [ cairo gobject-introspection gtk3 gtk-layer-shell ];
|
||||
nativeBuildInputs = [ pkg-config wrapGAppsHook ];
|
||||
|
||||
doCheck = false;
|
||||
|
||||
preInstall = ''
|
||||
mkdir -p $out/share/nwg-drawer
|
||||
cp -r desktop-directories drawer.css $out/share/nwg-drawer
|
||||
'';
|
||||
|
||||
preFixup = ''
|
||||
gappsWrapperArgs+=(
|
||||
--prefix PATH : ${xdg-utils}/bin
|
||||
--prefix XDG_DATA_DIRS : $out/share
|
||||
)
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Application drawer for sway Wayland compositor";
|
||||
homepage = "https://github.com/nwg-piotr/nwg-drawer";
|
||||
license = licenses.mit;
|
||||
platforms = platforms.linux;
|
||||
maintainers = with maintainers; [ plabadens ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue