1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-18 10:56:53 +00:00
nixpkgs/pkgs/development/libraries/openwsman/default.nix
John Ericson 531e4b80c9 misc pkgs: Basic sed to get fix pkgconfig and autoreconfHook buildInputs
Only acts on one-line dependency lists.
2017-09-21 15:49:53 -04:00

40 lines
1.1 KiB
Nix

{ fetchurl, stdenv, autoconf, automake, libtool, pkgconfig, libxml2, curl, cmake, pam, sblim-sfcc }:
stdenv.mkDerivation rec {
version = "2.6.0";
name = "openwsman-${version}";
src = fetchurl {
url = "https://github.com/Openwsman/openwsman/archive/v${version}.tar.gz";
sha256 = "0gw2dsjxzpchg3s85kplwgp9xhd9l7q4fh37iy7r203pvir4k6s4";
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ autoconf automake libtool libxml2 curl cmake pam sblim-sfcc ];
cmakeFlags = [
"-DCMAKE_BUILD_RUBY_GEM=no"
];
preConfigure = ''
cmakeFlags="$cmakeFlags -DPACKAGE_ARCHITECTURE=$(uname -m)";
'';
configureFlags = "--disable-more-warnings";
meta = {
description = "Openwsman server implementation and client api with bindings";
homepage = https://github.com/Openwsman/openwsman;
downloadPage = "https://github.com/Openwsman/openwsman/releases";
maintainers = [ stdenv.lib.maintainers.deepfire ];
license = stdenv.lib.licenses.bsd3;
platforms = stdenv.lib.platforms.gnu; # arbitrary choice
inherit version;
};
}