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
40
pkgs/tools/X11/xwallpaper/default.nix
Normal file
40
pkgs/tools/X11/xwallpaper/default.nix
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
{ lib, stdenv
|
||||
, fetchFromGitHub
|
||||
, pkg-config
|
||||
, autoreconfHook
|
||||
, installShellFiles
|
||||
, pixman
|
||||
, xcbutil
|
||||
, xcbutilimage
|
||||
, libseccomp
|
||||
, libjpeg
|
||||
, libpng
|
||||
, libXpm
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "xwallpaper";
|
||||
version = "0.7.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "stoeckmann";
|
||||
repo = "xwallpaper";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-O4VynpP3VJY/p6+NLUuKetwoMfbp93aXTiRoQJkgW+c=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkg-config autoreconfHook installShellFiles ];
|
||||
buildInputs = [ pixman xcbutilimage xcbutil libseccomp libjpeg libpng libXpm ];
|
||||
|
||||
postInstall = ''
|
||||
installShellCompletion --zsh _xwallpaper
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/stoeckmann/xwallpaper";
|
||||
description = "Utility for setting wallpapers in X";
|
||||
license = licenses.isc;
|
||||
maintainers = with maintainers; [ ivar ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue