Files
nixpkgs/pkgs/by-name/co/comedilib/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

67 lines
1.2 KiB
Nix

{
stdenv,
lib,
fetchFromGitHub,
autoreconfHook,
flex,
bison,
xmlto,
docbook_xsl,
docbook_xml_dtd_44,
swig,
perl,
python3,
udevCheckHook,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "comedilib";
version = "0.12.0";
src = fetchFromGitHub {
owner = "Linux-Comedi";
repo = "comedilib";
tag = "r${lib.replaceStrings [ "." ] [ "_" ] finalAttrs.version}";
hash = "sha256-3Hl6CHRvSzpNXXT6Z8RRbKKM/DS46+eORF9uYXgT2k0=";
};
nativeBuildInputs = [
autoreconfHook
flex
bison
swig
xmlto
docbook_xml_dtd_44
docbook_xsl
python3
perl
udevCheckHook
];
preConfigure = ''
patchShebangs --build doc/mkref doc/mkdr perl/Comedi.pm
'';
configureFlags = [
"--with-udev-hotplug=${placeholder "out"}/lib"
"--sysconfdir=${placeholder "out"}/etc"
];
doInstallCheck = true;
outputs = [
"out"
"dev"
"man"
"doc"
];
meta = {
description = "Linux Control and Measurement Device Interface Library";
homepage = "https://github.com/Linux-Comedi/comedilib";
license = lib.licenses.lgpl21;
maintainers = with lib.maintainers; [ doronbehar ];
platforms = lib.platforms.linux;
};
})