2014-11-12 16:52:21 +00:00
|
|
|
{ stdenv, fetchurl, libXt, libXpm, libXext, imake }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
|
|
|
|
version = "1.42";
|
2015-05-14 16:18:17 +01:00
|
|
|
name = "xsnow-${version}";
|
2014-11-12 16:52:21 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2018-06-28 19:43:35 +01:00
|
|
|
url = "https://janswaal.home.xs4all.nl/Xsnow/${name}.tar.gz";
|
2014-11-12 16:52:21 +00:00
|
|
|
sha256 = "06jnbp88wc9i9dbmy7kggplw4hzlx2bhghxijmlhkjlizgqwimyh";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
libXt libXpm libXext imake
|
|
|
|
];
|
|
|
|
|
|
|
|
buildPhase = ''
|
|
|
|
xmkmf
|
|
|
|
make
|
|
|
|
'';
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out/bin $out/share/man/man1
|
|
|
|
cp xsnow $out/bin/
|
|
|
|
cp xsnow.1 $out/share/man/man1/
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "An X-windows application that will let it snow on the root, in between and on windows";
|
2017-12-21 10:34:48 +00:00
|
|
|
homepage = http://janswaal.home.xs4all.nl/Xsnow/;
|
2014-11-12 16:52:21 +00:00
|
|
|
license = stdenv.lib.licenses.unfree;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.robberer ];
|
|
|
|
};
|
|
|
|
}
|