nixpkgs/pkgs/tools/system/wsmancli/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

36 lines
1.0 KiB
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config
2017-12-24 02:03:16 +00:00
, openssl, openwsman }:
2015-08-19 08:10:37 +00:00
stdenv.mkDerivation rec {
pname = "wsmancli";
2023-01-09 23:27:27 +00:00
version = "2.6.2";
2015-08-19 08:10:37 +00:00
2017-12-24 02:03:16 +00:00
src = fetchFromGitHub {
owner = "Openwsman";
repo = "wsmancli";
rev = "v${version}";
2023-01-09 23:27:27 +00:00
sha256 = "sha256-A2PVhQuKVTZ/nDKyy+vZVBNLB/3xujBYBzUEWcTIYYg=";
2015-08-19 08:10:37 +00:00
};
nativeBuildInputs = [ autoreconfHook pkg-config ];
2015-08-19 08:10:37 +00:00
2017-12-24 02:03:16 +00:00
buildInputs = [ openwsman openssl ];
2017-12-24 02:03:16 +00:00
postPatch = ''
touch AUTHORS NEWS README
'';
2015-08-19 08:10:37 +00:00
meta = with lib; {
2015-08-19 08:10:37 +00:00
description = "Openwsman command-line client";
2017-12-24 02:03:16 +00: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.
'';
downloadPage = "https://github.com/Openwsman/wsmancli/releases";
2017-12-24 02:03:16 +00:00
inherit (openwsman.meta) homepage license maintainers platforms;
2015-08-19 08:10:37 +00:00
};
}