Add App::St

This commit is contained in:
Eelco Dolstra 2016-07-07 11:20:30 +02:00
parent ad41b8fa19
commit 2aadeb2cb5
1 changed files with 19 additions and 0 deletions

View File

@ -304,6 +304,25 @@ let self = _self // overrides; _self = with self; {
};
};
AppSt = buildPerlPackage rec {
name = "App-St-1.1.2";
src = fetchurl {
url = https://github.com/nferraz/st/archive/v1.1.2.tar.gz;
sha256 = "1j1iwcxl16m4x5kl1vcv0linb93r55ndh3jm0w6qf459jl4x38s6";
};
postInstall =
''
sed -e "1 s|\(.*\)|\1 -I $out/lib/perl5/site_perl|" -i $out/bin/st
($out/bin/st --help || true) | grep Usage
'';
meta = {
description = "A command that computes simple statistics";
license = stdenv.lib.licenses.mit;
homepage = https://github.com/nferraz/st;
maintainers = [ maintainers.eelco ];
};
};
AttributeHandlers = buildPerlPackage {
name = "Attribute-Handlers-0.99";
src = fetchurl {