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
44
pkgs/tools/X11/hsetroot/default.nix
Normal file
44
pkgs/tools/X11/hsetroot/default.nix
Normal file
|
|
@ -0,0 +1,44 @@
|
|||
{ lib, stdenv
|
||||
, fetchFromGitHub
|
||||
, pkg-config
|
||||
, imlib2
|
||||
, libX11
|
||||
, libXinerama
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "hsetroot";
|
||||
version = "1.0.5";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "himdel";
|
||||
repo = "hsetroot";
|
||||
rev = version;
|
||||
sha256 = "1jbk5hlxm48zmjzkaq5946s58rqwg1v1ds2sdyd2ba029hmvr722";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
buildInputs = [
|
||||
imlib2
|
||||
libX11
|
||||
libXinerama
|
||||
];
|
||||
|
||||
postPatch = lib.optionalString (!stdenv.cc.isGNU) ''
|
||||
sed -i -e '/--no-as-needed/d' Makefile
|
||||
'';
|
||||
|
||||
makeFlags = [ "PREFIX=$(out)" ];
|
||||
|
||||
preInstall = ''
|
||||
mkdir -p "$out/bin"
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Allows you to compose wallpapers ('root pixmaps') for X";
|
||||
homepage = "https://github.com/himdel/hsetroot";
|
||||
license = licenses.gpl2Plus;
|
||||
maintainers = with maintainers; [ henrytill shamilton ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue