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 {
version = "1.42";
pname = "xsnow";
version = "3.3.0";
src = fetchurl {
url = "https://janswaal.home.xs4all.nl/Xsnow/${pname}-${version}.tar.gz";
sha256 = "06jnbp88wc9i9dbmy7kggplw4hzlx2bhghxijmlhkjlizgqwimyh";
url = "https://ratrabbit.nl/downloads/xsnow/xsnow-${version}.tar.gz";
sha256 = "1xnpqbamhglv7xsxzlrlpvsz6bbzlrvdpn5x2n9baww9kcrkbwjg";
};
nativeBuildInputs = [ imake gccmakedep ];
buildInputs = [
libXt libXpm libXext
];
nativeBuildInputs = [ pkg-config ];
buildInputs = [ gtk3-x11 libxml2 libXt libXpm ];
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";
homepage = "http://janswaal.home.xs4all.nl/Xsnow/";
license = lib.licenses.unfree;
maintainers = [ lib.maintainers.robberer ];
homepage = "https://ratrabbit.nl/ratrabbit/xsnow/";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ robberer ];
platforms = platforms.unix;
};
}