mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-15 14:26:33 +01:00
df7a52b48a
This lib is part of the FreeBSD base system, but is not included in the stdenv.
24 lines
635 B
Nix
24 lines
635 B
Nix
{ lib, stdenv, fetchFromGitHub, cmake, freebsd }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "libipt";
|
|
version = "2.1.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "intel";
|
|
repo = "libipt";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-tyOheitSlccf/n3mklGL2oAKLBKYT60LSLre9/G/b9Q=";
|
|
};
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
buildInputs = lib.optional stdenv.isFreeBSD freebsd.libstdthreads;
|
|
|
|
meta = with lib; {
|
|
description = "Intel Processor Trace decoder library";
|
|
homepage = "https://github.com/intel/libipt";
|
|
license = licenses.bsd3;
|
|
platforms = platforms.unix;
|
|
maintainers = with maintainers; [ orivej ];
|
|
};
|
|
}
|