Files
nixpkgs/pkgs/by-name/cc/cc1541/package.nix
Dark Steveneq 646b892680
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
push sheeet
2025-10-09 14:15:47 +02:00

45 lines
895 B
Nix

{
lib,
stdenv,
fetchFromBitbucket,
asciidoc,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "cc1541";
version = "4.2";
src = fetchFromBitbucket {
owner = "ptv_claus";
repo = "cc1541";
rev = finalAttrs.version;
hash = "sha256-+9ri3fUmxLHXxq9vNMjeNXfHula3PZpjewHO6z7pIhc=";
};
# Manual generation broke in 4.2
env.ENABLE_MAN = false;
makeFlags = [ "prefix=$(out)" ];
nativeBuildInputs = [ asciidoc ];
doInstallCheck = true;
checkPhase = ''
runHook preCheck
make test
runHook postCheck
'';
meta = with lib; {
description = "Tool for creating Commodore 1541 Floppy disk images in D64, D71 or D81 format";
homepage = "https://bitbucket.org/ptv_claus/cc1541/src/master/";
license = licenses.mit;
maintainers = with maintainers; [ matthewcroughan ];
mainProgram = "cc1541";
platforms = platforms.all;
};
})