nixpkgs/pkgs/by-name/re/remake/package.nix
aleksana 571c71e6f7 treewide: migrate packages to pkgs/by-name, take 1
We are migrating packages that meet below requirements:

1. using `callPackage`
2. called path is a directory
3. overriding set is empty (`{ }`)
4. not containing path expressions other than relative path (to
makenixpkgs-vet happy)
5. not referenced by nix files outside of the directory, other
than`pkgs/top-level/all-packages.nix`
6. not referencing nix files outside of the directory
7. not referencing `default.nix` (since it's changed to `package.nix`)
8. `outPath` doesn't change after migration

The tool is here: https://github.com/Aleksanaa/by-name-migrate.
2024-11-09 20:04:51 +08:00

42 lines
1006 B
Nix

{ lib
, stdenv
, fetchurl
, pkg-config
, readline
, guileSupport ? false
, guile
}:
stdenv.mkDerivation rec {
pname = "remake";
remakeVersion = "4.3";
dbgVersion = "1.6";
version = "${remakeVersion}+dbg-${dbgVersion}";
src = fetchurl {
url = "mirror://sourceforge/project/bashdb/remake/${version}/remake-${remakeVersion}+dbg-${dbgVersion}.tar.gz";
sha256 = "11vvch8bi0yhjfz7gn92b3xmmm0cgi3qfiyhbnnj89frkhbwd87n";
};
patches = [
./glibc-2.27-glob.patch
];
nativeBuildInputs = [
pkg-config
];
buildInputs = [ readline ]
++ lib.optionals guileSupport [ guile ];
# make check fails, see https://github.com/rocky/remake/issues/117
meta = {
homepage = "https://bashdb.sourceforge.net/remake/";
license = lib.licenses.gpl3Plus;
description = "GNU Make with comprehensible tracing and a debugger";
mainProgram = "remake";
platforms = with lib.platforms; linux ++ darwin;
maintainers = with lib.maintainers; [ bjornfor shamilton ];
};
}