summary refs log tree commit diff
path: root/pkgs/development/libraries/openwsman
diff options
context:
space:
mode:
authorKosyrev Serge <_deepfire@feelingofgreen.ru>2015-08-18 15:47:34 +0300
committerKosyrev Serge <_deepfire@feelingofgreen.ru>2015-08-24 22:34:15 +0300
commitd8b3c4c49c509e15944b5a44ecf183a4991692d5 (patch)
tree820a9b05c875c0b6dcdff07b7f75344ac7906b1e /pkgs/development/libraries/openwsman
parent90f40408c8d842345c01bd581b7697463f3854f4 (diff)
downloadnixpkgs-d8b3c4c49c509e15944b5a44ecf183a4991692d5.tar
nixpkgs-d8b3c4c49c509e15944b5a44ecf183a4991692d5.tar.gz
nixpkgs-d8b3c4c49c509e15944b5a44ecf183a4991692d5.tar.bz2
nixpkgs-d8b3c4c49c509e15944b5a44ecf183a4991692d5.tar.lz
nixpkgs-d8b3c4c49c509e15944b5a44ecf183a4991692d5.tar.xz
nixpkgs-d8b3c4c49c509e15944b5a44ecf183a4991692d5.tar.zst
nixpkgs-d8b3c4c49c509e15944b5a44ecf183a4991692d5.zip
openwsman init at 2.6.0
Diffstat (limited to 'pkgs/development/libraries/openwsman')
-rw-r--r--pkgs/development/libraries/openwsman/default.nix38
1 files changed, 38 insertions, 0 deletions
diff --git a/pkgs/development/libraries/openwsman/default.nix b/pkgs/development/libraries/openwsman/default.nix
new file mode 100644
index 00000000000..0eb940c119e
--- /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;
+  };
+}