Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
45 lines
1.1 KiB
Nix
45 lines
1.1 KiB
Nix
{
|
|
lib,
|
|
buildDotnetModule,
|
|
fetchFromGitHub,
|
|
}:
|
|
|
|
buildDotnetModule rec {
|
|
pname = "ciderpress2";
|
|
version = "1.1.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "fadden";
|
|
repo = "CiderPress2";
|
|
tag = "v${version}";
|
|
hash = "sha256-nzCuKCntqYVhjSHljPkY5ziAjYH/qGUqukRPrHzhOzo=";
|
|
};
|
|
|
|
projectFile = [ "cp2/cp2.csproj" ];
|
|
|
|
executables = [ "cp2" ];
|
|
|
|
patches = [ ./retarget-net8.patch ];
|
|
|
|
preBuild = ''
|
|
# Disable MS telemetry
|
|
export DOTNET_CLI_TELEMETRY_OPTOUT=1
|
|
export DOTNET_NOLOGO=1
|
|
'';
|
|
|
|
meta = {
|
|
description = "File archive utility for Apple II disk images and file archives";
|
|
longDescription = ''
|
|
CiderPress 2 is a file archive utility for Apple II disk images and file
|
|
archives. It can extract files from disk images and file archives, and
|
|
create new archives.
|
|
'';
|
|
homepage = "https://github.com/fadden/CiderPress2";
|
|
changelog = "https://github.com/fadden/CiderPress2/releases/tag/v${version}";
|
|
license = lib.licenses.asl20;
|
|
maintainers = with lib.maintainers; [ nulleric ];
|
|
platforms = lib.platforms.unix;
|
|
mainProgram = "cp2";
|
|
};
|
|
}
|