mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-26 07:34:11 +00:00
438d05615d
Signed-off-by: Arthur Gautier <baloo@superbaloo.net>
44 lines
1.1 KiB
Nix
44 lines
1.1 KiB
Nix
{ lib
|
|
, buildDotnetModule
|
|
, fetchFromGitHub
|
|
, dotnetCorePackages
|
|
, callPackage
|
|
}:
|
|
|
|
buildDotnetModule rec {
|
|
pname = "certdump";
|
|
version = "unstable-2023-07-12";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "secana";
|
|
repo = "CertDump";
|
|
rev = "1300005115786b3c214d73fa506de2de06a62cbb";
|
|
sha256 = "sha256-VqKOoW4fAXr0MtY5rgWvRqay1dazF+ZpzJUHkDeXpPs=";
|
|
};
|
|
|
|
projectFile = [ "CertDump.sln" ];
|
|
nugetDeps = ./deps.nix;
|
|
|
|
selfContainedBuild = true;
|
|
executables = [ "CertDump" ];
|
|
xBuildFiles = [ "CertDump/CertDump.csproj" ];
|
|
|
|
dotnet-runtime = dotnetCorePackages.aspnetcore_7_0;
|
|
dotnet-sdk = dotnetCorePackages.sdk_7_0;
|
|
|
|
dotnetFlags = [
|
|
"-property:ImportByWildcardBeforeSolution=false"
|
|
"-property:GenerateAssemblyInfo=false"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Dump certificates from PE files in different formats";
|
|
homepage = "https://github.com/secana/CertDump";
|
|
longDescription = ''
|
|
Cross-Platform tool to dump the signing certificate from a Portable Executable (PE) file.
|
|
'';
|
|
license = licenses.asl20;
|
|
maintainers = [ maintainers.baloo ];
|
|
};
|
|
}
|