shocco: init at 1.0

This commit is contained in:
Robert Schütz 2018-02-20 16:54:26 +01:00
parent c7aa4fd65b
commit 3996b91cb1
2 changed files with 30 additions and 0 deletions

View File

@ -0,0 +1,28 @@
{ stdenv, fetchFromGitHub, perlPackages, pythonPackages }:
stdenv.mkDerivation rec {
name = "shocco-${version}";
version = "1.0";
src = fetchFromGitHub {
owner = "rtomayko";
repo = "shocco";
rev = version;
sha256 = "1nkwcw9fqf4vyrwidqi6by7nrmainkjqkirkz3yxmzk6kzwr38mi";
};
prePatch = ''
# Don't change $PATH
substituteInPlace configure --replace PATH= NIRVANA=
'';
buildInputs = [ perlPackages.TextMarkdown pythonPackages.pygments ];
meta = with stdenv.lib; {
description = "A quick-and-dirty, literate-programming-style documentation generator for / in POSIX shell";
homepage = https://rtomayko.github.io/shocco/;
license = licenses.mit;
platforms = platforms.all;
maintainers = with maintainers; [ dotlambda ];
};
}

View File

@ -4628,6 +4628,8 @@ with pkgs;
sharutils = callPackage ../tools/archivers/sharutils { };
shocco = callPackage ../tools/text/shocco { };
shotwell = callPackage ../applications/graphics/shotwell { };
shout = nodePackages.shout;