Merge pull request #151349 from svanderburg/opencbm

opencbm: init at 0.4.99.103
This commit is contained in:
Sander van der Burg 2021-12-20 18:09:01 +01:00 committed by GitHub
commit e88d6f9cfd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 54 additions and 0 deletions

View File

@ -0,0 +1,52 @@
{ lib
, stdenv
, fetchFromGitHub
, cc65
, ncurses
, pkg-config
, libusb1
}:
stdenv.mkDerivation rec {
pname = "opencbm";
version = "0.4.99.103";
src = fetchFromGitHub {
owner = "OpenCBM";
repo = "OpenCBM";
rev = "v${version}";
sha256 = "06844yfgcbbwrp3iz5k8zd1zjawzbpvl131lgmkwz6d542c2k4k9";
};
makefile = "LINUX/Makefile";
makeFlags = [
"PREFIX=${placeholder "out"}"
"ETCDIR=${placeholder "out"}/etc"
"UDEVRULESDIR=${placeholder "out"}/etc/udev/rules.d/"
"LDCONFIG=true"
];
installTargets = "install-all";
nativeBuildInputs = [
cc65
pkg-config
];
buildInputs = [
libusb1
ncurses
];
meta = with lib; {
description = "Kernel driver and development library to control serial CBM devices";
longDescription = ''
Win 7/8/10, and Linux/i386/AMD64 kernel driver and development library to
control serial CBM devices, such as the Commodore 1541 disk drive,
connected to the PC's parallel port via a XM1541 or XA1541 cable. Fast
disk copier included. Successor of cbm4linux. Also supports the XU1541
and the XUM1541 devices (a.k.a. "ZoomFloppy").
'';
license = licenses.gpl2;
platforms = platforms.linux;
maintainers = [ maintainers.sander ];
};
}

View File

@ -1885,6 +1885,8 @@ with pkgs;
pacparser = callPackage ../tools/networking/pacparser { };
opencbm = callPackage ../tools/misc/opencbm { };
parquet-tools = callPackage ../tools/misc/parquet-tools { };
pass = callPackage ../tools/security/pass { };