diff options
author | AndersonTorres <torres.anderson.85@protonmail.com> | 2021-01-02 07:43:19 -0300 |
---|---|---|
committer | AndersonTorres <torres.anderson.85@protonmail.com> | 2021-01-03 23:16:17 -0300 |
commit | 7d370b0fa36e88f4bab4925d8e7988feecb3ab7b (patch) | |
tree | c4e1576832d9ab737112e0f5d9f193d3bbb18f65 /pkgs/applications | |
parent | 581059aed4a202bf50b5f27b06234151d8653e14 (diff) | |
download | nixlib-7d370b0fa36e88f4bab4925d8e7988feecb3ab7b.tar nixlib-7d370b0fa36e88f4bab4925d8e7988feecb3ab7b.tar.gz nixlib-7d370b0fa36e88f4bab4925d8e7988feecb3ab7b.tar.bz2 nixlib-7d370b0fa36e88f4bab4925d8e7988feecb3ab7b.tar.lz nixlib-7d370b0fa36e88f4bab4925d8e7988feecb3ab7b.tar.xz nixlib-7d370b0fa36e88f4bab4925d8e7988feecb3ab7b.tar.zst nixlib-7d370b0fa36e88f4bab4925d8e7988feecb3ab7b.zip |
jove: init at 4.17.3.6
Diffstat (limited to 'pkgs/applications')
-rw-r--r-- | pkgs/applications/editors/jove/default.nix | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/pkgs/applications/editors/jove/default.nix b/pkgs/applications/editors/jove/default.nix new file mode 100644 index 000000000000..4a22c4d4d955 --- /dev/null +++ b/pkgs/applications/editors/jove/default.nix @@ -0,0 +1,43 @@ +{ stdenv, fetchFromGitHub +, groff +, ncurses +, makeWrapper +} : + +stdenv.mkDerivation rec { + pname = "jove"; + version = "4.17.3.6"; + + src = fetchFromGitHub { + owner = "jonmacs"; + repo = "jove"; + rev = version; + sha256 = "sha256-uQRNKV06ipOHrOsvsceqIFGGlRv5qOQy18q0tFkR6Kg="; + }; + + nativeBuildInputs = [ makeWrapper ]; + buildInputs = [ + groff + ncurses + ]; + + dontConfigure = true; + + preBuild = '' + makeFlagsArray+=(SYSDEFS="-DSYSVR4 -D_XOPEN_SOURCE=500" \ + TERMCAPLIB=-lncurses JOVEHOME=${placeholder "out"}) + ''; + + postInstall = '' + wrapProgram $out/bin/teachjove \ + --prefix PATH ":" "$out/bin" + ''; + + meta = with stdenv.lib; { + description = "Jonathan's Own Version or Emacs"; + homepage = "https://github.com/jonmacs/jove"; + license = licenses.bsd2; + maintainers = with maintainers; [ AndersonTorres ]; + platforms = platforms.unix; + }; +} |