From 092d7e9705e5dae05be0b59c7df02f1b460ff8ab Mon Sep 17 00:00:00 2001 From: Franz Thoma Date: Wed, 9 Nov 2016 13:47:20 +0100 Subject: [PATCH] i3-gaps: 4.12 -> 4.13 --- pkgs/applications/window-managers/i3/gaps.nix | 20 +++++++------------ 1 file changed, 7 insertions(+), 13 deletions(-) diff --git a/pkgs/applications/window-managers/i3/gaps.nix b/pkgs/applications/window-managers/i3/gaps.nix index fa03bc47d9ed..3d8067f18825 100644 --- a/pkgs/applications/window-managers/i3/gaps.nix +++ b/pkgs/applications/window-managers/i3/gaps.nix @@ -1,26 +1,20 @@ -{ fetchurl, stdenv, i3 }: +{ fetchurl, stdenv, i3, autoreconfHook }: i3.overrideDerivation (super : rec { name = "i3-gaps-${version}"; - version = "4.12"; - releaseDate = "2016-03-06"; + version = "4.13"; + releaseDate = "2016-11-08"; src = fetchurl { url = "https://github.com/Airblader/i3/archive/${version}.tar.gz"; - sha256 = "1i9l993cak85fcw12zgrb5cpspmjixr3yf8naa4zb8589mg4rb8s"; + sha256 = "0w959nx2crn00fckqwb5y78vcr1j9mvq5lh25wyjszx04pjhf378"; }; - postUnpack = '' - echo -n "${version} (${releaseDate}, branch \\\"gaps-next\\\")" > ./i3-${version}/I3_VERSION - echo -n "${version}" > ./i3-${version}/VERSION - ''; + nativeBuildInputs = super.nativeBuildInputs ++ [ autoreconfHook ]; - postInstall = '' - wrapProgram "$out/bin/i3-save-tree" --prefix PERL5LIB ":" "$PERL5LIB" - for program in $out/bin/i3-sensible-*; do - sed -i 's/which/command -v/' $program - done + postUnpack = '' + echo -n "${version} (${releaseDate})" > ./i3-${version}/I3_VERSION ''; }) // {