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