2021-04-21 01:18:35 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchurl
|
|
|
|
, pkg-config
|
|
|
|
, readline
|
|
|
|
, guileSupport ? false
|
|
|
|
, guile
|
|
|
|
}:
|
2013-06-22 18:59:37 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "remake";
|
2021-04-21 01:18:35 +00:00
|
|
|
remakeVersion = "4.3";
|
2022-01-23 10:15:52 +00:00
|
|
|
dbgVersion = "1.6";
|
2016-11-04 14:14:00 +00:00
|
|
|
version = "${remakeVersion}+dbg-${dbgVersion}";
|
2009-10-11 15:03:13 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-04-21 01:18:35 +00:00
|
|
|
url = "mirror://sourceforge/project/bashdb/remake/${version}/remake-${remakeVersion}+dbg-${dbgVersion}.tar.gz";
|
2022-01-23 10:15:52 +00:00
|
|
|
sha256 = "11vvch8bi0yhjfz7gn92b3xmmm0cgi3qfiyhbnnj89frkhbwd87n";
|
2009-10-11 15:03:13 +00:00
|
|
|
};
|
|
|
|
|
2018-08-09 20:23:04 +00:00
|
|
|
patches = [
|
|
|
|
./glibc-2.27-glob.patch
|
|
|
|
];
|
|
|
|
|
2021-04-21 01:18:35 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
pkg-config
|
|
|
|
];
|
|
|
|
buildInputs = [ readline ]
|
|
|
|
++ lib.optionals guileSupport [ guile ];
|
|
|
|
|
|
|
|
# make check fails, see https://github.com/rocky/remake/issues/117
|
2013-06-22 18:59:37 +00:00
|
|
|
|
2009-10-11 15:03:13 +00:00
|
|
|
meta = {
|
2023-01-21 21:41:12 +00:00
|
|
|
homepage = "https://bashdb.sourceforge.net/remake/";
|
2021-04-21 01:18:35 +00:00
|
|
|
license = lib.licenses.gpl3Plus;
|
2009-10-11 15:03:13 +00:00
|
|
|
description = "GNU Make with comprehensible tracing and a debugger";
|
2024-03-19 02:14:51 +00:00
|
|
|
mainProgram = "remake";
|
2021-01-23 12:26:19 +00:00
|
|
|
platforms = with lib.platforms; linux ++ darwin;
|
2021-04-21 01:18:35 +00:00
|
|
|
maintainers = with lib.maintainers; [ bjornfor shamilton ];
|
2009-10-11 15:03:13 +00:00
|
|
|
};
|
|
|
|
}
|