shocco: init at 1.0
This commit is contained in:
parent
c7aa4fd65b
commit
3996b91cb1
28
pkgs/tools/text/shocco/default.nix
Normal file
28
pkgs/tools/text/shocco/default.nix
Normal 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 ];
|
||||||
|
};
|
||||||
|
}
|
@ -4628,6 +4628,8 @@ with pkgs;
|
|||||||
|
|
||||||
sharutils = callPackage ../tools/archivers/sharutils { };
|
sharutils = callPackage ../tools/archivers/sharutils { };
|
||||||
|
|
||||||
|
shocco = callPackage ../tools/text/shocco { };
|
||||||
|
|
||||||
shotwell = callPackage ../applications/graphics/shotwell { };
|
shotwell = callPackage ../applications/graphics/shotwell { };
|
||||||
|
|
||||||
shout = nodePackages.shout;
|
shout = nodePackages.shout;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user