4cb23072fc
GitOrigin-RevId: 6d8215281b2f87a5af9ed7425a26ac575da0438f
28 lines
767 B
Nix
28 lines
767 B
Nix
{ lib, stdenv, fetchFromGitHub, perlPackages, python3 }:
|
|
|
|
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 python3.pkgs.pygments ];
|
|
|
|
meta = with 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 ];
|
|
};
|
|
}
|