2021-01-11 08:54:33 +01:00
|
|
|
{ lib, stdenv, fetchFromGitHub, perlPackages, pythonPackages }:
|
2018-02-20 16:54:26 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
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 ];
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2018-02-20 16:54:26 +01:00
|
|
|
description = "A quick-and-dirty, literate-programming-style documentation generator for / in POSIX shell";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://rtomayko.github.io/shocco/";
|
2018-02-20 16:54:26 +01:00
|
|
|
license = licenses.mit;
|
|
|
|
platforms = platforms.all;
|
|
|
|
maintainers = with maintainers; [ dotlambda ];
|
|
|
|
};
|
|
|
|
}
|