lol
1{ lib, stdenv, fetchFromGitHub, imake, gccmakedep, xlibsWrapper }:
2
3stdenv.mkDerivation rec {
4 version_name = "1.2.hanami.6";
5 version = "1.2.6";
6 pname = "oneko";
7 src = fetchFromGitHub {
8 owner = "IreneKnapp";
9 repo = "oneko";
10 rev = version_name;
11 sha256 = "0vx12v5fm8ar3f1g6jbpmd3b1q652d32nc67ahkf28djbqjgcbnc";
12 };
13 nativeBuildInputs = [ imake gccmakedep ];
14 buildInputs = [ xlibsWrapper ];
15
16 makeFlags = [ "BINDIR=$(out)/bin" "MANPATH=$(out)/share/man" ];
17 installTargets = [ "install" "install.man" ];
18
19 meta = with lib; {
20 description = "Creates a cute cat chasing around your mouse cursor";
21 longDescription = ''
22 Oneko changes your mouse cursor into a mouse
23 and creates a little cute cat, which starts
24 chasing around your mouse cursor.
25 When the cat is done catching the mouse, it starts sleeping.
26 '';
27 homepage = "https://github.com/IreneKnapp/oneko";
28 license = with licenses; [ publicDomain ];
29 maintainers = with maintainers; [ xaverdh irenes ];
30 platforms = platforms.unix;
31 };
32}