Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 stdenv, 4 fetchurl, 5 m4, 6}: 7 8let 9 version = "0.7.3"; 10in 11stdenv.mkDerivation { 12 pname = "gforth-boot"; 13 inherit version; 14 src = fetchurl { 15 url = "https://ftp.gnu.org/gnu/gforth/gforth-${version}.tar.gz"; 16 sha256 = "1c1bahc9ypmca8rv2dijiqbangm1d9av286904yw48ph7ciz4qig"; 17 }; 18 19 buildInputs = [ m4 ]; 20 21 configureFlags = lib.optionals stdenv.hostPlatform.isDarwin [ "--build=x86_64-apple-darwin" ]; 22 23 meta = { 24 description = "Forth implementation of the GNU project (outdated version used to bootstrap)"; 25 homepage = "https://www.gnu.org/software/gforth/"; 26 license = lib.licenses.gpl3; 27 platforms = lib.platforms.all; 28 }; 29}