1{
2 lib,
3 buildDotnetModule,
4 fetchFromGitHub,
5 stdenv,
6}:
7
8buildDotnetModule {
9 pname = "certdump";
10 version = "0-unstable-2023-12-25";
11
12 src = fetchFromGitHub {
13 owner = "secana";
14 repo = "CertDump";
15 rev = "a834da24ee18503109631d836540a2b0cb481517";
16 hash = "sha256-86s6KLP0DliKOr0fVId7SGN333b7HkiL5p/q0vazwMc=";
17 };
18
19 projectFile = [ "CertDump.sln" ];
20 nugetDeps = ./deps.json;
21
22 selfContainedBuild = true;
23 executables = [ "CertDump" ];
24
25 dotnetFlags = [
26 "-property:ImportByWildcardBeforeSolution=false"
27 ];
28
29 meta = {
30 description = "Dump certificates from PE files in different formats";
31 mainProgram = "CertDump";
32 homepage = "https://github.com/secana/CertDump";
33 longDescription = ''
34 Cross-Platform tool to dump the signing certificate from a Portable Executable (PE) file.
35 '';
36 license = lib.licenses.asl20;
37 maintainers = [ lib.maintainers.baloo ];
38 broken = stdenv.hostPlatform.isAarch64 && stdenv.hostPlatform.isDarwin;
39 };
40}