diff options
author | Vladimír Čunát <vcunat@gmail.com> | 2014-06-09 19:07:20 +0200 |
---|---|---|
committer | Vladimír Čunát <vcunat@gmail.com> | 2014-06-09 19:07:31 +0200 |
commit | 5a98b9f5140578d8cbd4db8bddfe01e24249c2a9 (patch) | |
tree | ac2552b31325f3d262bd8728d7fd2e23db6ad5c8 /pkgs/tools/misc | |
parent | 5e37c09f0664eb6583dbe30351cc3d21f1b4cadb (diff) | |
parent | e1a0d45d0046cc01388b98ab88cfe39b2f38fb88 (diff) | |
download | nixlib-5a98b9f5140578d8cbd4db8bddfe01e24249c2a9.tar nixlib-5a98b9f5140578d8cbd4db8bddfe01e24249c2a9.tar.gz nixlib-5a98b9f5140578d8cbd4db8bddfe01e24249c2a9.tar.bz2 nixlib-5a98b9f5140578d8cbd4db8bddfe01e24249c2a9.tar.lz nixlib-5a98b9f5140578d8cbd4db8bddfe01e24249c2a9.tar.xz nixlib-5a98b9f5140578d8cbd4db8bddfe01e24249c2a9.tar.zst nixlib-5a98b9f5140578d8cbd4db8bddfe01e24249c2a9.zip |
Merge recent master into p/stdenv
Merged just before the pypi update, as it seems to cause problems on Hydra.
Diffstat (limited to 'pkgs/tools/misc')
-rw-r--r-- | pkgs/tools/misc/debootstrap/default.nix | 6 | ||||
-rw-r--r-- | pkgs/tools/misc/ethtool/default.nix | 4 | ||||
-rw-r--r-- | pkgs/tools/misc/goaccess/default.nix | 34 | ||||
-rw-r--r-- | pkgs/tools/misc/screenfetch/default.nix | 38 |
4 files changed, 77 insertions, 5 deletions
diff --git a/pkgs/tools/misc/debootstrap/default.nix b/pkgs/tools/misc/debootstrap/default.nix index 388cfa14e41e..aac7855827cc 100644 --- a/pkgs/tools/misc/debootstrap/default.nix +++ b/pkgs/tools/misc/debootstrap/default.nix @@ -32,13 +32,13 @@ in stdenv.mkDerivation { - name = "debootstrap-1.0.42"; + name = "debootstrap-1.0.60"; src = fetchurl { # git clone git://git.debian.org/d-i/debootstrap.git # I'd like to use the source. However it's lacking the lanny script ? (still true?) - url = http://ftp.de.debian.org/debian/pool/main/d/debootstrap/debootstrap_1.0.42.tar.gz; - sha256 = "0a5azl22wz1q92b2c91zlpz6krd7wqyi63yk87vyczp363ml0nz0"; + url = http://ftp.de.debian.org/debian/pool/main/d/debootstrap/debootstrap_1.0.60.tar.xz; + sha256 = "0jyxfmx466fsqak00m4n6b04zsdqym81ybah7yx2l081d0518sw8"; }; buildInputs = [ dpkg gettext gawk perl ]; diff --git a/pkgs/tools/misc/ethtool/default.nix b/pkgs/tools/misc/ethtool/default.nix index fe5985b96982..1b6205db7ce7 100644 --- a/pkgs/tools/misc/ethtool/default.nix +++ b/pkgs/tools/misc/ethtool/default.nix @@ -1,11 +1,11 @@ { stdenv, fetchurl }: stdenv.mkDerivation rec { - name = "ethtool-3.13"; + name = "ethtool-3.14"; src = fetchurl { url = "mirror://kernel/software/network/ethtool/${name}.tar.xz"; - sha256 = "07z7janzj8fbs04sw6nlzr039yh7b5gmzvik7ymg807i2gi5fmjs"; + sha256 = "01v7a757757bk68vvap2x0v6jbqicchnjxvh52w8dccixxq2nkj3"; }; meta = with stdenv.lib; { diff --git a/pkgs/tools/misc/goaccess/default.nix b/pkgs/tools/misc/goaccess/default.nix new file mode 100644 index 000000000000..56e18227d661 --- /dev/null +++ b/pkgs/tools/misc/goaccess/default.nix @@ -0,0 +1,34 @@ +{ stdenv, fetchurl, pkgconfig, geoip, ncurses, glib }: + +let + version = "0.8"; + mainSrc = fetchurl { + url = "http://tar.goaccess.prosoftcorp.com/goaccess-${version}.tar.gz"; + sha256 = "a61215b1f3e82bdb50c892e843f1a85d6d85f882915d694a5672911fab955eea"; + }; +in + +stdenv.mkDerivation rec { + name = "goaccess-${version}"; + src = mainSrc; + + configureFlags = [ + "--enable-geoip" + "--enable-utf8" + ]; + + buildInputs = [ + pkgconfig + geoip + ncurses + glib + ]; + + meta = { + description = "GoAccess is an open source real-time web log analyzer and interactive viewer that runs in a terminal in *nix systems."; + homepage = http://goaccess.prosoftcorp.com; + license = stdenv.lib.licenses.mit; + platforms = stdenv.lib.platforms.linux ++ stdenv.lib.platforms.darwin; + maintainers = with stdenv.lib.maintainers; [ ederoyd46 ]; + }; +} diff --git a/pkgs/tools/misc/screenfetch/default.nix b/pkgs/tools/misc/screenfetch/default.nix new file mode 100644 index 000000000000..0ebc712fcf0d --- /dev/null +++ b/pkgs/tools/misc/screenfetch/default.nix @@ -0,0 +1,38 @@ +{ stdenv, fetchgit, xdpyinfo, xprop }: + +let + version = "2014-05-27"; +in +stdenv.mkDerivation { + name = "screenFetch-${version}"; + pname = "screenfetch"; + + src = fetchgit { + url = git://github.com/KittyKatt/screenFetch.git; + rev = "69c46cb94b5765dbcb36905c5a35c42eb8e6e470"; + sha256 = "0479na831120bpyrg5nb3nb1jr8p8ahkixk1znwg730q3vdcjd6j"; + }; + + 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; + }; +} |