wsmancli: clean-ups
This commit is contained in:
parent
ede3aea02a
commit
da0d8e2174
@ -1,45 +1,36 @@
|
|||||||
{ fetchurl, stdenv, autoconf, automake, libtool, pkgconfig, openwsman, openssl }:
|
{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig
|
||||||
|
, openssl, openwsman }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
version = "2.6.0";
|
|
||||||
name = "wsmancli-${version}";
|
name = "wsmancli-${version}";
|
||||||
|
version = "2.6.0";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchFromGitHub {
|
||||||
url = "https://github.com/Openwsman/wsmancli/archive/v${version}.tar.gz";
|
owner = "Openwsman";
|
||||||
sha256 = "03ay6sa4ii8h6rr3l2qiqqml8xl6gplrlg4v2avdh9y6sihfyvvn";
|
repo = "wsmancli";
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "0a67fz9lj7xkyfqim6ai9kj7v6hzx94r1bg0g0l5dymgng648b9j";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig ];
|
nativeBuildInputs = [ autoreconfHook pkgconfig ];
|
||||||
buildInputs = [ autoconf automake libtool openwsman openssl ];
|
|
||||||
|
|
||||||
preConfigure = ''
|
buildInputs = [ openwsman openssl ];
|
||||||
./bootstrap
|
|
||||||
|
|
||||||
configureFlagsArray=(
|
postPatch = ''
|
||||||
LIBS="-L${openssl.out}/lib -lssl -lcrypto"
|
touch AUTHORS NEWS README
|
||||||
)
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = with stdenv.lib; {
|
||||||
description = "Openwsman command-line client";
|
description = "Openwsman command-line client";
|
||||||
|
longDescription = ''
|
||||||
longDescription =
|
Openwsman provides a command-line tool, wsman, to perform basic
|
||||||
'' Openwsman provides a command-line tool, wsman, to perform basic
|
operations on the command-line. These operations include Get, Put,
|
||||||
operations on the command-line. These operations include Get, Put,
|
Invoke, Identify, Delete, Create, and Enumerate. The command-line tool
|
||||||
Invoke, Identify, Delete, Create, and Enumerate. The command-line tool
|
also has several switches to allow for optional features of the
|
||||||
also has several switches to allow for optional features of the
|
WS-Management specification and Testing.
|
||||||
WS-Management specification and Testing.
|
'';
|
||||||
'';
|
downloadPage = https://github.com/Openwsman/wsmancli/releases;
|
||||||
|
inherit (openwsman.meta) homepage license maintainers platforms;
|
||||||
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;
|
inherit version;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user