mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-15 18:23:09 +00:00
7ff1fdfc78
* opencbm: 0.4.99.103 -> 0.4.99.104 (#159672) and add meta.homepage and use SPDX 3.0 license identifier Co-authored-by: Renaud <c0bw3b@users.noreply.github.com>
54 lines
1.3 KiB
Nix
54 lines
1.3 KiB
Nix
{ lib
|
|
, stdenv
|
|
, fetchFromGitHub
|
|
, cc65
|
|
, ncurses
|
|
, pkg-config
|
|
, libusb1
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "opencbm";
|
|
version = "0.4.99.104";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "OpenCBM";
|
|
repo = "OpenCBM";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-5lj5F79Gbhrvi9dxKGobdyDyBLGcptAtxx9SANhLrKw=";
|
|
};
|
|
|
|
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").
|
|
'';
|
|
homepage = "https://spiro.trikaliotis.net/opencbm";
|
|
license = licenses.gpl2Plus;
|
|
platforms = platforms.linux;
|
|
maintainers = [ maintainers.sander ];
|
|
};
|
|
}
|