From 1770fe4443f4ce4e5e01d1725c55c1015becd5b6 Mon Sep 17 00:00:00 2001 From: Kosyrev Serge <_deepfire@feelingofgreen.ru> Date: Wed, 19 Aug 2015 11:10:37 +0300 Subject: [PATCH] wsmancli init at 2.6.0 --- pkgs/tools/system/wsmancli/default.nix | 38 ++++++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 40 insertions(+) create mode 100644 pkgs/tools/system/wsmancli/default.nix diff --git a/pkgs/tools/system/wsmancli/default.nix b/pkgs/tools/system/wsmancli/default.nix new file mode 100644 index 000000000000..5449d53229c8 --- /dev/null +++ b/pkgs/tools/system/wsmancli/default.nix @@ -0,0 +1,38 @@ +{ fetchurl, stdenv, autoconf, automake, libtool, pkgconfig, openwsman }: + +stdenv.mkDerivation rec { + version = "2.6.0"; + name = "wsmancli-${version}"; + + src = fetchurl { + url = "https://github.com/Openwsman/wsmancli/archive/v${version}.tar.gz"; + sha256 = "03ay6sa4ii8h6rr3l2qiqqml8xl6gplrlg4v2avdh9y6sihfyvvn"; + }; + + buildInputs = [ autoconf automake libtool pkgconfig openwsman ]; + + preConfigure = "./bootstrap"; + + meta = { + description = "Openwsman command-line client"; + + longDescription = + '' Openwsman provides a command-line tool, wsman, to perform basic + operations on the command-line. These operations include Get, Put, + Invoke, Identify, Delete, Create, and Enumerate. The command-line tool + also has several switches to allow for optional features of the + WS-Management specification and Testing. + ''; + + homepage = https://github.com/Openwsman/wsmancli; + downloadPage = "https://github.com/Openwsman/wsmancli/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 142419ec4983..6363ec72668b 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -3335,6 +3335,8 @@ let welkin = callPackage ../tools/graphics/welkin {}; + wsmancli = callPackage ../tools/system/wsmancli {}; + wolfebin = callPackage ../tools/networking/wolfebin { python = python2; };