nixpkgs/pkgs/tools/text/shocco/default.nix

29 lines
778 B
Nix
Raw Normal View History

2018-02-20 16:54:26 +01:00
{ stdenv, fetchFromGitHub, perlPackages, pythonPackages }:
stdenv.mkDerivation rec {
pname = "shocco";
2018-02-20 16:54:26 +01:00
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/";
2018-02-20 16:54:26 +01:00
license = licenses.mit;
platforms = platforms.all;
maintainers = with maintainers; [ dotlambda ];
};
}