2021-04-22 02:08:21 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchurl
|
|
|
|
, pkg-config
|
|
|
|
, readline
|
|
|
|
, guileSupport ? false
|
|
|
|
, guile
|
|
|
|
}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "remake";
|
2021-04-22 02:08:21 +00:00
|
|
|
remakeVersion = "4.3";
|
|
|
|
dbgVersion = "1.5";
|
2020-04-24 23:36:52 +00:00
|
|
|
version = "${remakeVersion}+dbg-${dbgVersion}";
|
|
|
|
|
|
|
|
src = fetchurl {
|
2021-04-22 02:08:21 +00:00
|
|
|
url = "mirror://sourceforge/project/bashdb/remake/${version}/remake-${remakeVersion}+dbg-${dbgVersion}.tar.gz";
|
|
|
|
sha256 = "0xlx2485y0israv2pfghmv74lxcv9i5y65agy69mif76yc4vfvif";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
patches = [
|
|
|
|
./glibc-2.27-glob.patch
|
|
|
|
];
|
|
|
|
|
2021-04-22 02:08:21 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
pkg-config
|
|
|
|
];
|
|
|
|
buildInputs = [ readline ]
|
|
|
|
++ lib.optionals guileSupport [ guile ];
|
|
|
|
|
|
|
|
# make check fails, see https://github.com/rocky/remake/issues/117
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = "http://bashdb.sourceforge.net/remake/";
|
2021-04-22 02:08:21 +00:00
|
|
|
license = lib.licenses.gpl3Plus;
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "GNU Make with comprehensible tracing and a debugger";
|
2021-02-05 17:12:51 +00:00
|
|
|
platforms = with lib.platforms; linux ++ darwin;
|
2021-04-22 02:08:21 +00:00
|
|
|
maintainers = with lib.maintainers; [ bjornfor shamilton ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|