8ac5e011d6
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
28 lines
778 B
Nix
28 lines
778 B
Nix
{ stdenv, fetchFromGitHub, perlPackages, pythonPackages }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "shocco";
|
|
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 ];
|
|
};
|
|
}
|