diff options
author | Robert Schütz <robert.schuetz@stud.uni-heidelberg.de> | 2018-02-20 16:54:26 +0100 |
---|---|---|
committer | Robert Schütz <robert.schuetz@stud.uni-heidelberg.de> | 2018-02-20 16:58:57 +0100 |
commit | 3996b91cb1d30b0c38e991283c61ec8293f5d8d1 (patch) | |
tree | bf4cd1ac6df932d610eee4669d5c7c8a02e3ce79 /pkgs/tools/text/shocco | |
parent | c7aa4fd65bbd2ec5715da6fd164b74a95d41cd5b (diff) |
shocco: init at 1.0
Diffstat (limited to 'pkgs/tools/text/shocco')
-rw-r--r-- | pkgs/tools/text/shocco/default.nix | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/pkgs/tools/text/shocco/default.nix b/pkgs/tools/text/shocco/default.nix new file mode 100644 index 000000000000..97c677a7f701 --- /dev/null +++ b/pkgs/tools/text/shocco/default.nix @@ -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 ]; + }; +} |