mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 06:45:16 +01:00
commit
8c0db0fff3
2 changed files with 36 additions and 0 deletions
34
pkgs/games/xsnow/default.nix
Normal file
34
pkgs/games/xsnow/default.nix
Normal file
|
@ -0,0 +1,34 @@
|
|||
{ stdenv, fetchurl, libXt, libXpm, libXext, imake }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
|
||||
version = "1.42";
|
||||
name = "xsnow";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://dropmix.xs4all.nl/rick/Xsnow/xsnow-${version}.tar.gz";
|
||||
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";
|
||||
homepage = http://dropmix.xs4all.nl/rick/Xsnow/;
|
||||
license = stdenv.lib.licenses.unfree;
|
||||
maintainers = [ stdenv.lib.maintainers.robberer ];
|
||||
};
|
||||
}
|
|
@ -11603,6 +11603,8 @@ let
|
|||
|
||||
xskat = callPackage ../games/xskat { };
|
||||
|
||||
xsnow = callPackage ../games/xsnow { };
|
||||
|
||||
xsokoban = builderDefsPackage (import ../games/xsokoban) {
|
||||
inherit (xlibs) libX11 xproto libXpm libXt;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue