exploitdb: cleanup
- rev -> tag - use finalAttrs instead of rec - remove `with lib;`
This commit is contained in:
@@ -5,14 +5,14 @@
|
||||
makeWrapper,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "exploitdb";
|
||||
version = "2025-06-27";
|
||||
|
||||
src = fetchFromGitLab {
|
||||
owner = "exploit-database";
|
||||
repo = "exploitdb";
|
||||
rev = "refs/tags/${version}";
|
||||
tag = finalAttrs.version;
|
||||
hash = "sha256-Gm3SRdt6a3hSe64iP7j+5HQ5bGZ6s3eKvxFlCkQWZHo=";
|
||||
};
|
||||
|
||||
@@ -26,19 +26,19 @@ stdenv.mkDerivation rec {
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
meta = {
|
||||
description = "Archive of public exploits and corresponding vulnerable software";
|
||||
homepage = "https://gitlab.com/exploit-database/exploitdb";
|
||||
license = with licenses; [
|
||||
license = with lib.licenses; [
|
||||
gpl2Plus
|
||||
gpl3Plus
|
||||
mit
|
||||
];
|
||||
maintainers = with maintainers; [
|
||||
maintainers = with lib.maintainers; [
|
||||
applePrincess
|
||||
fab
|
||||
];
|
||||
mainProgram = "searchsploit";
|
||||
platforms = platforms.unix;
|
||||
platforms = lib.platforms.unix;
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user