14 stdenv.mkDerivation rec {
15 pname = "libieee1284";
18 src = fetchFromGitHub {
21 rev = "V${builtins.replaceStrings [ "." ] [ "_" ] version}";
22 sha256 = "0wfv1prmhhpyll9l4g1ij3im7hk9mm96ydw3l9fvhjp3993cdn2x";
28 url = "https://gitweb.gentoo.org/repo/gentoo.git/plain/sys-libs/libieee1284/files/libieee1284-0.2.11-don-t-blindly-assume-outb_p-to-be-available.patch?id=dec60bb6900d6ebdaaa6aa1dcb845b30b739f9b5";
29 hash = "sha256-sNu0OPBMa9GIwSu754noateF4FZC14f+8YRgYUl13KQ=";
46 ++ lib.optionals (stdenv.hostPlatform.isMusl && !stdenv.hostPlatform.isx86) [
47 # musl always provides <sys/io.h>, even though the functionality
49 # https://www.openwall.com/lists/musl/2024/10/25/2
50 "ac_cv_header_sys_io_h=no"
58 description = "Parallel port communication library";
59 mainProgram = "libieee1284_test";
60 homepage = "http://cyberelk.net/tim/software/libieee1284/";
61 license = licenses.gpl2Plus;
62 platforms = platforms.linux;
63 maintainers = with maintainers; [ romildo ];