xsnow: 1.42 -> 3.3.0

Since this package was last updated, xsnow has been relicensed, and
then forked.  It's also had its build system replaced.
This commit is contained in:
Alyssa Ross 2021-06-07 12:21:02 +00:00
parent 0d8332d2b9
commit 013d3cb42d

View file

@ -1,26 +1,26 @@
{ lib, stdenv, fetchurl, libXt, libXpm, libXext, imake, gccmakedep }: { lib, stdenv, fetchurl, pkg-config, libxml2, gtk3-x11, libXt, libXpm }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
version = "1.42";
pname = "xsnow"; pname = "xsnow";
version = "3.3.0";
src = fetchurl { src = fetchurl {
url = "https://janswaal.home.xs4all.nl/Xsnow/${pname}-${version}.tar.gz"; url = "https://ratrabbit.nl/downloads/xsnow/xsnow-${version}.tar.gz";
sha256 = "06jnbp88wc9i9dbmy7kggplw4hzlx2bhghxijmlhkjlizgqwimyh"; sha256 = "1xnpqbamhglv7xsxzlrlpvsz6bbzlrvdpn5x2n9baww9kcrkbwjg";
}; };
nativeBuildInputs = [ imake gccmakedep ]; nativeBuildInputs = [ pkg-config ];
buildInputs = [ buildInputs = [ gtk3-x11 libxml2 libXt libXpm ];
libXt libXpm libXext
];
makeFlags = [ "BINDIR=$(out)/bin" "MANPATH=$(out)/share/man" ]; makeFlags = [ "gamesdir=$(out)/bin" ];
meta = { enableParallelBuilding = true;
meta = with lib; {
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 = "https://ratrabbit.nl/ratrabbit/xsnow/";
license = lib.licenses.unfree; license = licenses.gpl3Plus;
maintainers = [ lib.maintainers.robberer ]; maintainers = with maintainers; [ robberer ];
platforms = platforms.unix;
}; };
} }