blob: 442922b7805456cbe25c3a7d663f64d996e742b9 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
{ stdenv, fetchgit, xdpyinfo, xprop }:
let
version = "3.6.2";
in
stdenv.mkDerivation {
name = "screenFetch-${version}";
pname = "screenfetch";
src = fetchgit {
url = git://github.com/KittyKatt/screenFetch.git;
rev = "dec1cd6c2471defe4459967fbc8ae15b55714338";
sha256 = "138a7g0za5dq27jx7x8gqg7gjkgyq0017v0nbcg68ys7dqlxsdl3";
};
installPhase = ''
install -Dm 0755 $pname-dev $out/bin/$pname
install -Dm 0644 $pname.1 $out/man/man1/$pname.1
'';
meta = {
description = "Fetches system/theme information in terminal for Linux desktop screenshots";
longDescription = ''
screenFetch is a "Bash Screenshot Information Tool". This handy Bash
script can be used to generate one of those nifty terminal theme
information + ASCII distribution logos you see in everyone's screenshots
nowadays. It will auto-detect your distribution and display an ASCII
version of that distribution's logo and some valuable information to the
right. There are options to specify no ascii art, colors, taking a
screenshot upon displaying info, and even customizing the screenshot
command! This script is very easy to add to and can easily be extended.
'';
license = stdenv.lib.licenses.gpl3;
homepage = http://git.silverirc.com/cgit.cgi/screenfetch-dev.git/;
maintainers = with stdenv.lib.maintainers; [relrod];
platforms = stdenv.lib.platforms.all;
};
}
|