nixpkgs/pkgs/development/libraries/libuldaq/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

35 lines
845 B
Nix
Raw Normal View History

2021-07-06 06:04:20 +02:00
{ lib, stdenv, fetchFromGitHub, autoreconfHook, libusb1, ...}:
stdenv.mkDerivation rec {
pname = "libuldaq";
2022-03-23 19:43:04 +01:00
version = "1.2.1";
2021-07-06 06:04:20 +02:00
src = fetchFromGitHub {
owner = "mccdaq";
repo = "uldaq";
rev = "v${version}";
2022-03-23 19:43:04 +01:00
sha256 = "sha256-DA1mxu94z5xDpGK9OBwD02HXlOATv/slqZ4lz5GM7QM=";
2021-07-06 06:04:20 +02:00
};
patches = [
# Patch needed for `make install` to succeed
./0001-uldaq.patch
];
nativeBuildInputs = [ autoreconfHook ];
buildInputs = [ libusb1 ];
meta = with lib; {
description = "Library to talk to uldaq devices";
longDescription = ''
Library used to communicate with USB data acquisition (DAQ)
devices from Measurement Computing
'';
homepage = "https://github.com/mccdaq/uldaq";
license = licenses.mit;
platforms = platforms.linux;
maintainers = [ maintainers.simonkampe ];
};
}