2021-01-17 10:17:16 +01:00
|
|
|
{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config
|
2017-12-24 03:03:16 +01:00
|
|
|
, openssl, openwsman }:
|
2015-08-19 10:10:37 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "wsmancli";
|
2017-12-24 03:03:16 +01:00
|
|
|
version = "2.6.0";
|
2015-08-19 10:10:37 +02:00
|
|
|
|
2017-12-24 03:03:16 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "Openwsman";
|
|
|
|
repo = "wsmancli";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "0a67fz9lj7xkyfqim6ai9kj7v6hzx94r1bg0g0l5dymgng648b9j";
|
2015-08-19 10:10:37 +02:00
|
|
|
};
|
|
|
|
|
2021-01-17 10:17:16 +01:00
|
|
|
nativeBuildInputs = [ autoreconfHook pkg-config ];
|
2015-08-19 10:10:37 +02:00
|
|
|
|
2017-12-24 03:03:16 +01:00
|
|
|
buildInputs = [ openwsman openssl ];
|
2016-08-06 10:45:21 +02:00
|
|
|
|
2017-12-24 03:03:16 +01:00
|
|
|
postPatch = ''
|
|
|
|
touch AUTHORS NEWS README
|
2016-08-06 10:45:21 +02:00
|
|
|
'';
|
2015-08-19 10:10:37 +02:00
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2015-08-19 10:10:37 +02:00
|
|
|
description = "Openwsman command-line client";
|
2017-12-24 03:03:16 +01:00
|
|
|
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.
|
|
|
|
'';
|
2020-04-01 03:11:51 +02:00
|
|
|
downloadPage = "https://github.com/Openwsman/wsmancli/releases";
|
2017-12-24 03:03:16 +01:00
|
|
|
inherit (openwsman.meta) homepage license maintainers platforms;
|
2015-08-19 10:10:37 +02:00
|
|
|
};
|
|
|
|
}
|