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
36
pkgs/applications/window-managers/windowlab/default.nix
Normal file
36
pkgs/applications/window-managers/windowlab/default.nix
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
{ lib, stdenv, fetchurl, pkg-config
|
||||
, libX11, libXext, libXft }:
|
||||
|
||||
let version = "1.40"; in
|
||||
stdenv.mkDerivation {
|
||||
pname = "windowlab";
|
||||
inherit version;
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://nickgravgaard.com/windowlab/windowlab-${version}.tar";
|
||||
sha256 = "1fx4jwq4s98p2wpvawsiww7d6568bpjgcjpks61dzfj8p2j32s4d";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
buildInputs = [ libX11 libXext libXft ];
|
||||
|
||||
postPatch =
|
||||
''
|
||||
mv Makefile Makefile.orig
|
||||
echo \
|
||||
"
|
||||
DEFINES += -DXFT
|
||||
EXTRA_INC += $(pkg-config --cflags xft)
|
||||
EXTRA_LIBS += $(pkg-config --libs xft)
|
||||
" > Makefile
|
||||
sed "s|/usr/local|$out|g" Makefile.orig >> Makefile
|
||||
'';
|
||||
|
||||
meta = with lib;
|
||||
{ description = "Small and simple stacking window manager";
|
||||
homepage = "http://nickgravgaard.com/windowlab/";
|
||||
license = licenses.gpl2;
|
||||
maintainers = with maintainers; [ ehmry ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue