@@ -1,12 +1,14 @@
1−{ lib, stdenv, fetchurl, imake, gccmakedep, xlibsWrapper }:
1+{ lib, stdenv, fetchFromGitHub, imake, gccmakedep, xlibsWrapper }:
22
33stdenv.mkDerivation rec {
4− version_name = "1.2.sakura.5";
5− version = "1.2.5";
4+ version_name = "1.2.hanami.6";
5+ version = "1.2.6";
66 pname = "oneko";
7− src = fetchurl {
8− url = "http://www.daidouji.com/oneko/distfiles/oneko-${version_name}.tar.gz";
9− sha256 = "2c2e05f1241e9b76f54475b5577cd4fb6670de058218d04a741a04ebd4a2b22f";
7+ src = fetchFromGitHub {
8+ owner = "IreneKnapp";
9+ repo = "oneko";
10+ rev = version_name;
11+ sha256 = "0vx12v5fm8ar3f1g6jbpmd3b1q652d32nc67ahkf28djbqjgcbnc";
1012 };
1113 nativeBuildInputs = [ imake gccmakedep ];
1214 buildInputs = [ xlibsWrapper ];
@@ -22,9 +24,9 @@ stdenv.mkDerivation rec {
2224 chasing around your mouse cursor.
2325 When the cat is done catching the mouse, it starts sleeping.
2426 '';
25− homepage = "http://www.daidouji.com/oneko/";
26− license = licenses.publicDomain;
27− maintainers = [ maintainers.xaverdh ];
27+ homepage = "https://github.com/IreneKnapp/oneko";
28+ license = with licenses; [ publicDomain ];
29+ maintainers = with maintainers; [ xaverdh irenes ];
2830 platforms = platforms.unix;
2931 };
3032}