mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 23:43:30 +00:00
Merge pull request #84243 from doronbehar/package-comedilib
comedilib: init at 0.11.0
This commit is contained in:
commit
9d333b2889
55
pkgs/development/libraries/comedilib/default.nix
Normal file
55
pkgs/development/libraries/comedilib/default.nix
Normal file
@ -0,0 +1,55 @@
|
||||
{ stdenv
|
||||
, fetchFromGitHub
|
||||
, autoreconfHook
|
||||
, flex
|
||||
, yacc
|
||||
, xmlto
|
||||
, docbook_xsl
|
||||
, docbook_xml_dtd_44
|
||||
, swig
|
||||
, perl
|
||||
, python3
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "comedilib";
|
||||
version = "0.11.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Linux-Comedi";
|
||||
repo = "comedilib";
|
||||
rev = "r${stdenv.lib.replaceStrings [ "." ] [ "_" ] version}";
|
||||
sha256 = "159sv4jdgmcaqz76vazkyxxb85ni7pg14p1qv7y94hib3kspc195";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
autoreconfHook
|
||||
flex
|
||||
yacc
|
||||
swig
|
||||
xmlto
|
||||
docbook_xml_dtd_44
|
||||
docbook_xsl
|
||||
python3
|
||||
perl
|
||||
];
|
||||
|
||||
preConfigure = ''
|
||||
patchShebangs --build doc/mkref doc/mkdr perl/Comedi.pm
|
||||
'';
|
||||
|
||||
configureFlags = [
|
||||
"--with-udev-hotplug=${placeholder "out"}/lib"
|
||||
"--sysconfdir=${placeholder "out"}/etc"
|
||||
];
|
||||
|
||||
outputs = [ "out" "dev" "man" "doc" ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "The Linux Control and Measurement Device Interface Library";
|
||||
homepage = "https://github.com/Linux-Comedi/comedilib";
|
||||
license = licenses.lgpl21;
|
||||
maintainers = [ maintainers.doronbehar ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
@ -173,6 +173,8 @@ in
|
||||
|
||||
colorz = callPackage ../tools/misc/colorz { };
|
||||
|
||||
comedilib = callPackage ../development/libraries/comedilib { };
|
||||
|
||||
cpu-x = callPackage ../applications/misc/cpu-x { };
|
||||
|
||||
dhallToNix = callPackage ../build-support/dhall-to-nix.nix {
|
||||
|
Loading…
Reference in New Issue
Block a user