oneko: 1.2.sakura.5 -> 1.2.hanami.6; new upstream; add myself as maintainer

+11 -9
+11 -9
pkgs/applications/misc/oneko/default.nix
··· 1 - { lib, stdenv, fetchurl, imake, gccmakedep, xlibsWrapper }: 1 + { lib, stdenv, fetchFromGitHub, imake, gccmakedep, xlibsWrapper }: 2 2 3 3 stdenv.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"; 6 6 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"; 10 12 }; 11 13 nativeBuildInputs = [ imake gccmakedep ]; 12 14 buildInputs = [ xlibsWrapper ]; ··· 22 24 chasing around your mouse cursor. 23 25 When the cat is done catching the mouse, it starts sleeping. 24 26 ''; 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 ]; 28 30 platforms = platforms.unix; 29 31 }; 30 32 }