15 stdenv.mkDerivation (finalAttrs: {
19 src = fetchFromGitHub {
20 owner = "Linux-Comedi";
22 rev = "r${lib.replaceStrings [ "." ] [ "_" ] finalAttrs.version}";
23 sha256 = "0kfs2dw62vjz8j7fgsxq6ky8r8kca726gyklbm6kljvgfh47lyfw";
39 patchShebangs --build doc/mkref doc/mkdr perl/Comedi.pm
43 "--with-udev-hotplug=${placeholder "out"}/lib"
44 "--sysconfdir=${placeholder "out"}/etc"
47 outputs = [ "out" "dev" "man" "doc" ];
50 description = "The Linux Control and Measurement Device Interface Library";
51 homepage = "https://github.com/Linux-Comedi/comedilib";
52 license = licenses.lgpl21;
53 maintainers = [ maintainers.doronbehar ];
54 platforms = platforms.linux;