3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/games/xsnow/default.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

27 lines
741 B
Nix

{ stdenv, fetchurl, libXt, libXpm, libXext, imake, gccmakedep }:
stdenv.mkDerivation rec {
version = "1.42";
pname = "xsnow";
src = fetchurl {
url = "https://janswaal.home.xs4all.nl/Xsnow/${pname}-${version}.tar.gz";
sha256 = "06jnbp88wc9i9dbmy7kggplw4hzlx2bhghxijmlhkjlizgqwimyh";
};
nativeBuildInputs = [ imake gccmakedep ];
buildInputs = [
libXt libXpm libXext
];
makeFlags = [ "BINDIR=$(out)/bin" "MANPATH=$(out)/share/man" ];
meta = {
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/;
license = stdenv.lib.licenses.unfree;
maintainers = [ stdenv.lib.maintainers.robberer ];
};
}