2015-03-11 16:10:31 +00:00
|
|
|
{ stdenv, fetchurl, pkgconfig, libX11, libXpm, libXext }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "wmsm.app-0.2.1";
|
|
|
|
src = fetchurl {
|
2020-04-01 02:11:51 +01:00
|
|
|
url = "http://linux-bsd-unix.strefa.pl/wmsm.app-0.2.1.tar.bz2";
|
2015-03-11 16:10:31 +00:00
|
|
|
sha256 = "369a8f2e5673c6b7ab0cf85166f38fbf553dd966c3c1cfeec0e32837defd32c7";
|
|
|
|
};
|
|
|
|
|
2017-09-05 22:26:13 +01:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
buildInputs = [ libX11 libXpm libXext ];
|
2015-03-11 16:10:31 +00:00
|
|
|
|
|
|
|
postUnpack = "sourceRoot=\${sourceRoot}/wmsm";
|
|
|
|
|
2017-09-28 23:05:44 +01:00
|
|
|
NIX_CFLAGS_COMPILE = "-std=gnu89";
|
|
|
|
|
2015-03-11 16:10:31 +00:00
|
|
|
installPhase = ''
|
|
|
|
substituteInPlace Makefile --replace "PREFIX = /usr/X11R6/bin" "" --replace "/usr/bin/install" "install"
|
|
|
|
mkdir -pv $out/bin;
|
|
|
|
make PREFIX=$out/bin install;
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "System monitor for Windowmaker";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "http://linux-bsd-unix.strefa.pl";
|
2015-03-11 16:10:31 +00:00
|
|
|
license = stdenv.lib.licenses.gpl2;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.bstrik ];
|
|
|
|
};
|
|
|
|
}
|