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 {
|
||||
version = "2.6.0";
|
||||
name = "wsmancli-${version}";
|
||||
version = "2.6.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/Openwsman/wsmancli/archive/v${version}.tar.gz";
|
||||
sha256 = "03ay6sa4ii8h6rr3l2qiqqml8xl6gplrlg4v2avdh9y6sihfyvvn";
|
||||
src = fetchFromGitHub {
|
||||
owner = "Openwsman";
|
||||
repo = "wsmancli";
|
||||
rev = "v${version}";
|
||||
sha256 = "0a67fz9lj7xkyfqim6ai9kj7v6hzx94r1bg0g0l5dymgng648b9j";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
buildInputs = [ autoconf automake libtool openwsman openssl ];
|
||||
nativeBuildInputs = [ autoreconfHook pkgconfig ];
|
||||
|
||||
preConfigure = ''
|
||||
./bootstrap
|
||||
buildInputs = [ openwsman openssl ];
|
||||
|
||||
configureFlagsArray=(
|
||||
LIBS="-L${openssl.out}/lib -lssl -lcrypto"
|
||||
)
|
||||
postPatch = ''
|
||||
touch AUTHORS NEWS README
|
||||
'';
|
||||
|
||||
meta = {
|
||||
meta = with stdenv.lib; {
|
||||
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
|
||||
|
||||
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;
|
||||
inherit (openwsman.meta) homepage license maintainers platforms;
|
||||
inherit version;
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user