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";
|
2022-01-25 03:21:06 +00:00
|
|
|
dbgVersion = "1.6";
|
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";
|
2022-01-25 03:21:06 +00:00
|
|
|
sha256 = "11vvch8bi0yhjfz7gn92b3xmmm0cgi3qfiyhbnnj89frkhbwd87n";
|
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
|
|
|
};
|
|
|
|
}
|