From 75c90d3fc7a44103925b39473740525d31be94b4 Mon Sep 17 00:00:00 2001 From: Doron Behar Date: Mon, 9 Mar 2020 15:15:17 +0200 Subject: [PATCH] liberio: init at unstable-2019-12-11 --- .../development/libraries/liberio/default.nix | 37 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 + 2 files changed, 39 insertions(+) create mode 100644 pkgs/development/libraries/liberio/default.nix diff --git a/pkgs/development/libraries/liberio/default.nix b/pkgs/development/libraries/liberio/default.nix new file mode 100644 index 000000000000..b4023d5f36a9 --- /dev/null +++ b/pkgs/development/libraries/liberio/default.nix @@ -0,0 +1,37 @@ +{ stdenv +, fetchFromGitHub +, autoreconfHook +, systemd +, pkg-config +}: + +stdenv.mkDerivation rec { + pname = "liberio"; + version = "unstable-2019-12-11"; + + src = fetchFromGitHub { + owner = "EttusResearch"; + repo = "liberio"; + rev = "81777e500d1c3b88d5048d46643fb5553eb5f786"; + sha256 = "1n40lj5g497mmqh14vahdhy3jwvcry2pkc670p4c9f1pggp6ysgk"; + }; + + nativeBuildInputs = [ + pkg-config + autoreconfHook + ]; + + buildInputs = [ + systemd + ]; + + doCheck = true; + + meta = with stdenv.lib; { + description = "Ettus Research DMA I/O Library"; + homepage = "https://github.com/EttusResearch/liberio"; + license = licenses.gpl2; + maintainers = [ maintainers.doronbehar ]; + platforms = platforms.all; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 30bc0af360ec..2cb6a34e3ec4 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -4902,6 +4902,8 @@ in libevdev = callPackage ../development/libraries/libevdev { }; + liberio = callPackage ../development/libraries/liberio { }; + libevdevplus = callPackage ../development/libraries/libevdevplus { }; libfann = callPackage ../development/libraries/libfann { };