From d8b3c4c49c509e15944b5a44ecf183a4991692d5 Mon Sep 17 00:00:00 2001 From: Kosyrev Serge <_deepfire@feelingofgreen.ru> Date: Tue, 18 Aug 2015 15:47:34 +0300 Subject: [PATCH] openwsman init at 2.6.0 --- .../libraries/openwsman/default.nix | 38 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 + 2 files changed, 40 insertions(+) create mode 100644 pkgs/development/libraries/openwsman/default.nix diff --git a/pkgs/development/libraries/openwsman/default.nix b/pkgs/development/libraries/openwsman/default.nix new file mode 100644 index 000000000000..0eb940c119ea --- /dev/null +++ b/pkgs/development/libraries/openwsman/default.nix @@ -0,0 +1,38 @@ +{ fetchurl, stdenv, autoconf, automake, libtool, pkgconfig, libxml2, curl, cmake, pam, sblim-sfcc }: + +stdenv.mkDerivation rec { + version = "2.6.0"; + name = "openwsman-${version}"; + + src = fetchurl { + url = "https://github.com/Openwsman/openwsman/archive/v${version}.tar.gz"; + sha256 = "0gw2dsjxzpchg3s85kplwgp9xhd9l7q4fh37iy7r203pvir4k6s4"; + }; + + buildInputs = [ autoconf automake libtool pkgconfig libxml2 curl cmake pam sblim-sfcc ]; + + cmakeFlags = [ + "-DCMAKE_BUILD_RUBY_GEM=no" + ]; + + preConfigure = '' + cmakeFlags="$cmakeFlags -DPACKAGE_ARCHITECTURE=$(uname -m)"; + ''; + + configureFlags = "--disable-more-warnings"; + + meta = { + description = "Openwsman server implementation and client api with bindings"; + + homepage = https://github.com/Openwsman/openwsman; + downloadPage = "https://github.com/Openwsman/openwsman/releases"; + + maintainers = [ stdenv.lib.maintainers.deepfire ]; + + license = stdenv.lib.licenses.bsd3; + + platforms = stdenv.lib.platforms.gnu; # arbitrary choice + + inherit version; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index a09fdadf9dbf..142419ec4983 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -7802,6 +7802,8 @@ let }; }; + openwsman = callPackage ../development/libraries/openwsman {}; + ortp = callPackage ../development/libraries/ortp { }; p11_kit = callPackage ../development/libraries/p11-kit { };