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
31
pkgs/tools/misc/parcellite/default.nix
Normal file
31
pkgs/tools/misc/parcellite/default.nix
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
{ lib, stdenv, fetchFromGitHub, autoreconfHook
|
||||
, gtk2, hicolor-icon-theme, intltool, pkg-config
|
||||
, which, wrapGAppsHook, xdotool }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "parcellite";
|
||||
version = "1.2.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "rickyrockrat";
|
||||
repo = "parcellite";
|
||||
rev = version;
|
||||
sha256 = "19q4x6x984s6gxk1wpzaxawgvly5vnihivrhmja2kcxhzqrnfhiy";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ autoreconfHook intltool pkg-config wrapGAppsHook ];
|
||||
buildInputs = [ gtk2 hicolor-icon-theme ];
|
||||
NIX_LDFLAGS = "-lgio-2.0";
|
||||
|
||||
preFixup = ''
|
||||
# Need which and xdotool on path to fix auto-pasting.
|
||||
gappsWrapperArgs+=(--prefix PATH : "${which}/bin:${xdotool}/bin")
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Lightweight GTK clipboard manager";
|
||||
homepage = "https://github.com/rickyrockrat/parcellite";
|
||||
license = licenses.gpl3Plus;
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue