forked from mirrors/nixpkgs
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,20 +10,12 @@ 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";
|
||||||
|
|
Loading…
Reference in a new issue