1 { lib, stdenv, fetchurl, makeWrapper, pkg-config
2 , dbus, dbus-glib, gtk3, gdk-pixbuf, librsvg
6 stdenv.mkDerivation rec {
11 url = "http://www.nickg.me.uk/files/xcowsay-${version}.tar.gz";
12 sha256 = "sha256-RqzoZP8o0tIfS3BY8CleGNAEGhIMEHipUfpDxOD1yMU=";
19 gdk-pixbuf # loading cow images
20 librsvg # dreaming SVG images
22 nativeBuildInputs = [ makeWrapper pkg-config ];
24 configureFlags = [ "--enable-dbus" ];
27 for tool in xcowdream xcowsay xcowthink xcowfortune; do
28 wrapProgram $out/bin/$tool \
29 --prefix PATH : $out/bin:${fortune}/bin
34 homepage = "http://www.doof.me.uk/xcowsay";
35 description = "Tool to display a cute cow and messages";
36 license = licenses.gpl3Plus;
37 maintainers = with maintainers; [ das_j ];