1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs synced 2024-10-19 03:47:13 -04:00
nixpkgs/pkgs/applications/misc/twmn/default.nix

34 lines
830 B
Nix
Raw Normal View History

{ fetchurl, stdenv, fetchgit, qtbase, qtx11extras, qmakeHook, pkgconfig, boost }:
2014-01-03 19:28:24 -05:00
stdenv.mkDerivation rec {
name = "twmn-git-2014-09-23";
2014-01-03 19:28:24 -05:00
src = fetchgit {
url = "https://github.com/sboli/twmn.git";
rev = "9492a47e25547e602dd57efd807033677c90b150";
sha256 = "1a68gka9gyxyzhc9rn8df59rzcdwkjw90cxp1kk0rdfp6svhxhsa";
2014-01-03 19:28:24 -05:00
};
buildInputs = [ qtbase qtx11extras pkgconfig boost qmakeHook ];
2014-01-03 19:28:24 -05:00
postPatch = ''
sed -i s/-Werror// twmnd/twmnd.pro
'';
2014-01-03 19:28:24 -05:00
installPhase = ''
runHook preInstall
2014-01-03 19:28:24 -05:00
mkdir -p "$out/bin"
cp bin/* "$out/bin"
runHook postInstall
2014-01-03 19:28:24 -05:00
'';
meta = {
2014-02-22 11:59:22 -05:00
description = "A notification system for tiling window managers";
2014-01-03 19:28:24 -05:00
homepage = "https://github.com/sboli/twmn";
platforms = with stdenv.lib.platforms; linux;
2014-02-22 11:59:22 -05:00
maintainers = [ stdenv.lib.maintainers.matejc ];
2014-01-03 19:28:24 -05:00
};
}