From 5f67fc8e69be101c4c39ce3dded953ae3f3b8cb4 Mon Sep 17 00:00:00 2001 From: Alexander Rezvov Date: Wed, 4 Aug 2021 00:21:43 +0300 Subject: [PATCH] openipmi: init at 2.0.31 --- pkgs/tools/system/openipmi/default.nix | 23 +++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 25 insertions(+) create mode 100644 pkgs/tools/system/openipmi/default.nix diff --git a/pkgs/tools/system/openipmi/default.nix b/pkgs/tools/system/openipmi/default.nix new file mode 100644 index 000000000000..c462c2457a9b --- /dev/null +++ b/pkgs/tools/system/openipmi/default.nix @@ -0,0 +1,23 @@ +{ stdenv, fetchurl, popt, ncurses, python3, readline, lib }: + +stdenv.mkDerivation rec { + pname = "OpenIPMI"; + version = "2.0.31"; + + src = fetchurl { + url = "mirror://sourceforge/openipmi/OpenIPMI-${version}.tar.gz"; + sha256 = "05wpkn74nxqp5p6sa2yaf2ajrh8b0gfkb7y4r86lnigz4rvz6lkh"; + }; + + buildInputs = [ ncurses popt python3 readline ]; + + outputs = [ "out" "lib" "dev" "man" ]; + + meta = with lib; { + homepage = "https://openipmi.sourceforge.io/"; + description = "A user-level library that provides a higher-level abstraction of IPMI and generic services"; + license = with licenses; [ gpl2Only lgpl2Only ]; + platforms = platforms.linux; + maintainers = with maintainers; [ arezvov SuperSandro2000 ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index d12077c2ab82..1625db21a63a 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -6689,6 +6689,8 @@ in np2kai = callPackage ../misc/emulators/np2kai { }; + openipmi = callPackage ../tools/system/openipmi { }; + ox = callPackage ../applications/editors/ox { }; file-rename = callPackage ../tools/filesystems/file-rename { };