nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{ fetchurl, stdenv, autoconf, automake, libtool, pkgconfig, openwsman, openssl }:
2
3stdenv.mkDerivation rec {
4 version = "2.6.0";
5 name = "wsmancli-${version}";
6
7 src = fetchurl {
8 url = "https://github.com/Openwsman/wsmancli/archive/v${version}.tar.gz";
9 sha256 = "03ay6sa4ii8h6rr3l2qiqqml8xl6gplrlg4v2avdh9y6sihfyvvn";
10 };
11
12 buildInputs = [ autoconf automake libtool pkgconfig openwsman openssl ];
13
14 preConfigure = ''
15 ./bootstrap
16
17 configureFlagsArray=(
18 LIBS="-L${openssl.out}/lib -lssl -lcrypto"
19 )
20 '';
21
22 meta = {
23 description = "Openwsman command-line client";
24
25 longDescription =
26 '' Openwsman provides a command-line tool, wsman, to perform basic
27 operations on the command-line. These operations include Get, Put,
28 Invoke, Identify, Delete, Create, and Enumerate. The command-line tool
29 also has several switches to allow for optional features of the
30 WS-Management specification and Testing.
31 '';
32
33 homepage = https://github.com/Openwsman/wsmancli;
34 downloadPage = "https://github.com/Openwsman/wsmancli/releases";
35
36 maintainers = [ stdenv.lib.maintainers.deepfire ];
37
38 license = stdenv.lib.licenses.bsd3;
39
40 platforms = stdenv.lib.platforms.gnu; # arbitrary choice
41
42 inherit version;
43 };
44}