mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-14 17:53:37 +00:00
293027453f
- The make variable PREFIX must be at build time because common.mk uses it to decide where to expect $SYSCONFDIR. - The make target "all" is run by default and needn't be set explicitly. - Shebang paths in scripts are patched automatically be the default builder, we don't have to do that manually.
26 lines
788 B
Nix
26 lines
788 B
Nix
{ fetchurl, stdenv, which, pkgconfig, libxcb, xcbutilkeysyms, xcbutil, bison,
|
|
xcbutilwm, libstartup_notification, libX11, pcre, libev, yajl, flex,
|
|
libXcursor, coreutils, perl }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "i3-4.2";
|
|
|
|
src = fetchurl {
|
|
url = "http://i3wm.org/downloads/${name}.tar.bz2";
|
|
sha256 = "e02c832820e8922a44e744e555294f8580c2f8e218c5c1029e52f1bde048732b";
|
|
};
|
|
|
|
buildInputs = [ which pkgconfig libxcb xcbutilkeysyms xcbutil bison xcbutilwm
|
|
libstartup_notification libX11 pcre libev yajl flex libXcursor perl ];
|
|
|
|
configurePhase = "makeFlags=PREFIX=$out";
|
|
|
|
meta = {
|
|
description = "i3 is a tiling window manager";
|
|
homepage = "http://i3wm.org";
|
|
maintainers = [ stdenv.lib.maintainers.garbas ];
|
|
license = stdenv.lib.licenses.bsd3;
|
|
};
|
|
|
|
}
|