git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #31956 from xaverdh/master

oneko: init at 1.2.5

commit428f52e2d9b82309c4517ab037e34ba364878be7 authorJörg Thalheim <Mic92@users.noreply.github.com> dateSat 25 Nov 2017, 16:01 (9 years ago) parent60fd669ecdc401
3 files changed+37
lib/maintainers.nix+1 pkgs/applications/misc/oneko/default.nix+34 pkgs/top-level/all-packages.nix+2
lib/maintainers.nix+1
@@ -700,6 +700,7 @@
700700 womfoo = "Kranium Gikos Mendoza <kranium@gikos.net>";
701701 wscott = "Wayne Scott <wsc9tt@gmail.com>";
702702 wyvie = "Elijah Rum <elijahrum@gmail.com>";
703+ xaverdh = "Dominik Xaver Hörl <hoe.dom@gmx.de>";
703704 xnwdd = "Guillermo NWDD <nwdd+nixos@no.team>";
704705 xvapx = "Marti Serra <marti.serra.coscollano@gmail.com>";
705706 xwvvvvwx = "David Terry <davidterry@posteo.de>";
pkgs/applications/misc/oneko/default.nixnew file+34
@@ -0,0 +1,34 @@
1+{ stdenv, fetchurl, xorg, x11 }:
2+
3+stdenv.mkDerivation rec {
4+ version = "1.2.sakura.5";
5+ vname = "1.2.5";
6+ name = "oneko-${vname}";
7+ src = fetchurl {
8+ url = "http://www.daidouji.com/oneko/distfiles/oneko-${version}.tar.gz";
9+ sha256 = "2c2e05f1241e9b76f54475b5577cd4fb6670de058218d04a741a04ebd4a2b22f";
10+ };
11+ buildInputs = [ xorg.imake xorg.gccmakedep x11 ];
12+
13+ configurePhase = "xmkmf";
14+
15+ installPhase = ''
16+ make install BINDIR=$out/bin
17+ make install.man MANPATH=$out/share/man
18+ '';
19+
20+ meta = with stdenv.lib; {
21+ description = "Creates a cute cat chasing around your mouse cursor";
22+ longDescription = ''
23+ Oneko changes your mouse cursor into a mouse
24+ and creates a little cute cat, which starts
25+ chasing around your mouse cursor.
26+ When the cat is done catching the mouse, it starts sleeping.
27+ '';
28+ homepage = "http://www.daidouji.com/oneko/";
29+ license = licenses.publicDomain;
30+ maintainers = [ maintainers.xaverdh ];
31+ meta.platforms = platforms.unix;
32+ };
33+}
34+
pkgs/top-level/all-packages.nix+2
@@ -10077,6 +10077,8 @@ with pkgs;
1007710077
1007810078 olm = callPackage ../development/libraries/olm { };
1007910079
10080+ oneko = callPackage ../applications/misc/oneko { };
10081+
1008010082 oniguruma = callPackage ../development/libraries/oniguruma { };
1008110083
1008210084 openal = self.openalSoft;