nixpkgs/pkgs/applications/misc/twmn/default.nix

37 lines
868 B
Nix
Raw Normal View History

{ lib, mkDerivation, fetchFromGitHub, qtbase, qtx11extras, qmake, pkg-config, boost }:
2014-01-04 01:28:24 +01:00
mkDerivation {
2019-02-16 22:30:00 +01:00
name = "twmn-git-2018-10-01";
2014-01-04 01:28:24 +01:00
2019-02-16 22:30:00 +01:00
src = fetchFromGitHub {
owner = "sboli";
repo = "twmn";
rev = "80f48834ef1a07087505b82358308ee2374b6dfb";
sha256 = "0mpjvp800x07lp9i3hfcc5f4bqj1fj4w3dyr0zwaxc6wqmm0fdqz";
2014-01-04 01:28:24 +01:00
};
nativeBuildInputs = [ pkg-config qmake ];
2017-06-02 17:40:19 +02:00
buildInputs = [ qtbase qtx11extras boost ];
2014-01-04 01:28:24 +01:00
postPatch = ''
sed -i s/-Werror// twmnd/twmnd.pro
'';
2014-01-04 01:28:24 +01:00
installPhase = ''
runHook preInstall
2014-01-04 01:28:24 +01:00
mkdir -p "$out/bin"
cp bin/* "$out/bin"
runHook postInstall
2014-01-04 01:28:24 +01:00
'';
meta = {
2014-02-22 17:59:22 +01:00
description = "A notification system for tiling window managers";
homepage = "https://github.com/sboli/twmn";
platforms = with lib.platforms; linux;
maintainers = [ lib.maintainers.matejc ];
license = lib.licenses.lgpl3;
2014-01-04 01:28:24 +01:00
};
}