Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

35 lines
823 B
Nix
Raw Permalink Normal View History

2025-05-15 18:33:59 +08:00
{
2025-05-17 17:04:38 +08:00
binutils,
2025-05-15 18:33:59 +08:00
lib,
perlPackages,
fetchFromGitLab,
}:
perlPackages.buildPerlPackage rec {
pname = "debsigs";
version = "0.2.2";
src = fetchFromGitLab {
owner = "debsigs";
repo = "debsigs";
tag = "release/${version}";
hash = "sha256-gCc5JmmdhTAUQqkMOK/0YmlCRD0JcpemCpqusYmpoKU=";
};
sourceRoot = "${src.name}/perl";
2025-05-17 17:04:38 +08:00
postPatch = ''
substituteInPlace arf.pm \
--replace-fail /usr/bin/ar ${binutils.bintools}/bin/ar
'';
2025-05-15 18:33:59 +08:00
meta = {
description = "Manipulate the cryptographic signatures stored inside a .deb file";
mainProgram = "debsigs";
homepage = "https://gitlab.com/debsigs/debsigs";
changelog = "https://gitlab.com/debsigs/debsigs/-/tags/release/${version}";
license = lib.licenses.gpl2Plus;
maintainers = with lib.maintainers; [ usertam ];
};
}