nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{ lib
2, stdenv
3, fetchurl
4, pkg-config
5, readline
6, guileSupport ? false
7, guile
8}:
9
10stdenv.mkDerivation rec {
11 pname = "remake";
12 remakeVersion = "4.3";
13 dbgVersion = "1.6";
14 version = "${remakeVersion}+dbg-${dbgVersion}";
15
16 src = fetchurl {
17 url = "mirror://sourceforge/project/bashdb/remake/${version}/remake-${remakeVersion}+dbg-${dbgVersion}.tar.gz";
18 sha256 = "11vvch8bi0yhjfz7gn92b3xmmm0cgi3qfiyhbnnj89frkhbwd87n";
19 };
20
21 patches = [
22 ./glibc-2.27-glob.patch
23 ];
24
25 nativeBuildInputs = [
26 pkg-config
27 ];
28 buildInputs = [ readline ]
29 ++ lib.optionals guileSupport [ guile ];
30
31 # make check fails, see https://github.com/rocky/remake/issues/117
32
33 meta = {
34 homepage = "https://bashdb.sourceforge.net/remake/";
35 license = lib.licenses.gpl3Plus;
36 description = "GNU Make with comprehensible tracing and a debugger";
37 mainProgram = "remake";
38 platforms = with lib.platforms; linux ++ darwin;
39 maintainers = with lib.maintainers; [ bjornfor shamilton ];
40 };
41}