diff options
author | Kranium Gikos Mendoza <kranium@gikos.net> | 2017-09-25 20:59:17 +1000 |
---|---|---|
committer | Orivej Desh <orivej@gmx.fr> | 2017-09-29 10:04:23 +0000 |
commit | 864f9a8df5c52120b40ca9d3a797985ec75b849a (patch) | |
tree | 86517e5a226b8aaa373f75e783e54ac331af4bbd /pkgs | |
parent | a293bb0326d251fde6f48ffca2b4af58ccf1ff7d (diff) |
libwhereami: init at 0.1.1
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/development/libraries/libwhereami/default.nix | 28 | ||||
-rw-r--r-- | pkgs/top-level/all-packages.nix | 2 |
2 files changed, 30 insertions, 0 deletions
diff --git a/pkgs/development/libraries/libwhereami/default.nix b/pkgs/development/libraries/libwhereami/default.nix new file mode 100644 index 0000000000000..35e904989c419 --- /dev/null +++ b/pkgs/development/libraries/libwhereami/default.nix @@ -0,0 +1,28 @@ +{ stdenv, fetchFromGitHub, cmake, boost, curl, leatherman }: + +stdenv.mkDerivation rec { + name = "libwhereami-${version}"; + version = "0.1.1"; + + src = fetchFromGitHub { + sha256 = "0nhbmxm626cgawprszw6c03a3hasxjn1i9ldhhj5xyvxp8r5l9q4"; + rev = version; + repo = "libwhereami"; + owner = "puppetlabs"; + }; + + nativeBuildInputs = [ cmake ]; + + buildInputs = [ boost curl leatherman ]; + + enableParallelBuilding = true; + + meta = with stdenv.lib; { + inherit (src.meta) homepage; + description = "Library to report hypervisor information from inside a VM"; + license = licenses.asl20; + maintainers = [ maintainers.womfoo ]; + platforms = platforms.linux; + }; + +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 5aadb55911046..be2500331d579 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -9520,6 +9520,8 @@ with pkgs; libupnp = callPackage ../development/libraries/pupnp { }; + libwhereami = callPackage ../development/libraries/libwhereami { }; + giflib = giflib_5_1; giflib_4_1 = callPackage ../development/libraries/giflib/4.1.nix { }; giflib_5_0 = callPackage ../development/libraries/giflib/5.0.nix { }; |