nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 44 lines 1.1 kB view raw
1{ 2 lib, 3 buildDotnetModule, 4 fetchFromGitHub, 5}: 6 7buildDotnetModule rec { 8 pname = "ciderpress2"; 9 version = "1.1.0"; 10 11 src = fetchFromGitHub { 12 owner = "fadden"; 13 repo = "CiderPress2"; 14 tag = "v${version}"; 15 hash = "sha256-nzCuKCntqYVhjSHljPkY5ziAjYH/qGUqukRPrHzhOzo="; 16 }; 17 18 projectFile = [ "cp2/cp2.csproj" ]; 19 20 executables = [ "cp2" ]; 21 22 patches = [ ./retarget-net8.patch ]; 23 24 preBuild = '' 25 # Disable MS telemetry 26 export DOTNET_CLI_TELEMETRY_OPTOUT=1 27 export DOTNET_NOLOGO=1 28 ''; 29 30 meta = { 31 description = "File archive utility for Apple II disk images and file archives"; 32 longDescription = '' 33 CiderPress 2 is a file archive utility for Apple II disk images and file 34 archives. It can extract files from disk images and file archives, and 35 create new archives. 36 ''; 37 homepage = "https://github.com/fadden/CiderPress2"; 38 changelog = "https://github.com/fadden/CiderPress2/releases/tag/v${version}"; 39 license = lib.licenses.asl20; 40 maintainers = with lib.maintainers; [ nulleric ]; 41 platforms = lib.platforms.unix; 42 mainProgram = "cp2"; 43 }; 44}