···11+{ stdenv, fetchgit, xdpyinfo, xprop }:
22+33+let
44+ version = "2014-05-27";
55+in
66+stdenv.mkDerivation {
77+ name = "screenFetch-${version}";
88+ pname = "screenfetch";
99+1010+ src = fetchgit {
1111+ url = git://github.com/KittyKatt/screenFetch.git;
1212+ rev = "69c46cb94b5765dbcb36905c5a35c42eb8e6e470";
1313+ sha256 = "0479na831120bpyrg5nb3nb1jr8p8ahkixk1znwg730q3vdcjd6j";
1414+ };
1515+1616+ installPhase = ''
1717+ install -Dm 0755 $pname-dev $out/bin/$pname
1818+ install -Dm 0644 $pname.1 $out/man/man1/$pname.1
1919+ '';
2020+2121+ meta = {
2222+ description = "Fetches system/theme information in terminal for Linux desktop screenshots.";
2323+ longDescription = ''
2424+ screenFetch is a "Bash Screenshot Information Tool". This handy Bash
2525+ script can be used to generate one of those nifty terminal theme
2626+ information + ASCII distribution logos you see in everyone's screenshots
2727+ nowadays. It will auto-detect your distribution and display an ASCII
2828+ version of that distribution's logo and some valuable information to the
2929+ right. There are options to specify no ascii art, colors, taking a
3030+ screenshot upon displaying info, and even customizing the screenshot
3131+ command! This script is very easy to add to and can easily be extended.
3232+ '';
3333+ license = stdenv.lib.licenses.gpl3;
3434+ homepage = http://git.silverirc.com/cgit.cgi/screenfetch-dev.git/;
3535+ maintainers = with stdenv.lib.maintainers; [relrod];
3636+ platforms = stdenv.lib.platforms.all;
3737+ };
3838+}