xsnow: use imake setup hook
This commit is contained in:
parent
cbf9b5610b
commit
1eab4151d4
|
@ -1,4 +1,4 @@
|
||||||
{ stdenv, fetchurl, libXt, libXpm, libXext, imake }:
|
{ stdenv, fetchurl, libXt, libXpm, libXext, imake, gccmakedep }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
|
|
||||||
|
@ -10,25 +10,17 @@ stdenv.mkDerivation rec {
|
||||||
sha256 = "06jnbp88wc9i9dbmy7kggplw4hzlx2bhghxijmlhkjlizgqwimyh";
|
sha256 = "06jnbp88wc9i9dbmy7kggplw4hzlx2bhghxijmlhkjlizgqwimyh";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [ imake gccmakedep ];
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
libXt libXpm libXext imake
|
libXt libXpm libXext
|
||||||
];
|
];
|
||||||
|
|
||||||
buildPhase = ''
|
makeFlags = [ "BINDIR=$(out)/bin" "MANPATH=$(out)/share/man" ];
|
||||||
xmkmf
|
|
||||||
make
|
|
||||||
'';
|
|
||||||
|
|
||||||
installPhase = ''
|
|
||||||
mkdir -p $out/bin $out/share/man/man1
|
|
||||||
cp xsnow $out/bin/
|
|
||||||
cp xsnow.1 $out/share/man/man1/
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "An X-windows application that will let it snow on the root, in between and on windows";
|
description = "An X-windows application that will let it snow on the root, in between and on windows";
|
||||||
homepage = http://janswaal.home.xs4all.nl/Xsnow/;
|
homepage = http://janswaal.home.xs4all.nl/Xsnow/;
|
||||||
license = stdenv.lib.licenses.unfree;
|
license = stdenv.lib.licenses.unfree;
|
||||||
maintainers = [ stdenv.lib.maintainers.robberer ];
|
maintainers = [ stdenv.lib.maintainers.robberer ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue