diff options
author | Anderson Torres <torres.anderson.85@protonmail.com> | 2023-06-03 23:58:55 -0300 |
---|---|---|
committer | Anderson Torres <torres.anderson.85@protonmail.com> | 2023-06-04 20:10:35 +0000 |
commit | 8ba006e05708c4235aaff7e03fac3a37f16ad5d6 (patch) | |
tree | 91633613f74423b6248a0b371e9b17030e33a100 | |
parent | 0aef019111c05586dd84771794703767018c0754 (diff) | |
download | nixpkgs-8ba006e05708c4235aaff7e03fac3a37f16ad5d6.tar nixpkgs-8ba006e05708c4235aaff7e03fac3a37f16ad5d6.tar.gz nixpkgs-8ba006e05708c4235aaff7e03fac3a37f16ad5d6.tar.bz2 nixpkgs-8ba006e05708c4235aaff7e03fac3a37f16ad5d6.tar.lz nixpkgs-8ba006e05708c4235aaff7e03fac3a37f16ad5d6.tar.xz nixpkgs-8ba006e05708c4235aaff7e03fac3a37f16ad5d6.tar.zst nixpkgs-8ba006e05708c4235aaff7e03fac3a37f16ad5d6.zip |
pforth: 1.28.0 -> 2.0.1
-rw-r--r-- | pkgs/development/compilers/pforth/default.nix | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/pkgs/development/compilers/pforth/default.nix b/pkgs/development/compilers/pforth/default.nix index 44c6ea0a16a..59994b26aee 100644 --- a/pkgs/development/compilers/pforth/default.nix +++ b/pkgs/development/compilers/pforth/default.nix @@ -1,36 +1,36 @@ -{ lib, stdenv, fetchFromGitHub, fetchpatch }: +{ lib +, stdenv +, fetchFromGitHub +}: -stdenv.mkDerivation { - version = "28"; +stdenv.mkDerivation (finalAttrs: { pname = "pforth"; + version = "2.0.1"; + src = fetchFromGitHub { owner = "philburk"; repo = "pforth"; - rev = "9190005e32c6151b76ac707b30eeb4d5d9dd1d36"; - sha256 = "0k3pmcgybsnwrxy75piyb2420r8d4ij190606js32j99062glr3x"; + rev = "v${finalAttrs.version}"; + hash = "sha256-vEjFeHSJl+yAtatYJEnu+r9hmOr/kZOgIbSUXR/c8WU="; }; - patches = [ - (fetchpatch { - name = "gnumake-4.3-fix.patch"; - url = "https://github.com/philburk/pforth/commit/457cb99f57292bc855e53abcdcb7b12d6681e847.patch"; - sha256 = "0x1bwx3pqb09ddjhmdli47lnk1ys4ny42819g17kfn8nkjs5hbx7"; - }) - ]; + dontConfigure = true; - makeFlags = [ "SRCDIR=." ]; - makefile = "build/unix/Makefile"; + preBuild = '' + cd platforms/unix + ''; installPhase = '' install -Dm755 pforth_standalone $out/bin/pforth ''; - meta = { - description = "Portable ANSI style Forth written in ANSI C"; homepage = "http://www.softsynth.com/pforth/"; - license = lib.licenses.publicDomain; + description = "Portable Portable ANS-like Forth written in ANSI 'C'"; + changelog = "https://github.com/philburk/pforth/blob/v${finalAttrs.version}/RELEASES.md"; + license = lib.licenses.bsd0; + maintainers = with lib.maintainers; [ AndersonTorres yrashk ]; platforms = lib.platforms.unix; - maintainers = with lib.maintainers; [ yrashk ]; }; -} +}) +# TODO: option for install the non-standalone executable |