mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-30 01:23:03 +00:00
2abd5916a7
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/fstrm/versions. These checks were done: - built on NixOS - ran ‘/nix/store/p9y2vcrsa056xibh0y1xaz750mdcc5yq-fstrm-0.4.0-bin/bin/fstrm_capture --version’ and found version 0.4.0 - found 0.4.0 with grep in /nix/store/p9y2vcrsa056xibh0y1xaz750mdcc5yq-fstrm-0.4.0-bin - directory tree listing: https://gist.github.com/5cc213160a9ec091c9e767b95bfe2cdd - du listing: https://gist.github.com/c4b1f58631938c0cad031ac2dc920011
33 lines
763 B
Nix
33 lines
763 B
Nix
{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, libevent, openssl }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "fstrm-${version}";
|
|
version = "0.4.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "farsightsec";
|
|
repo = "fstrm";
|
|
rev = "v${version}";
|
|
sha256 = "11i8b3wy6j3z3fcv816xccxxlrfkczdr8bm2gnan6yv4ppbji4ny";
|
|
};
|
|
|
|
outputs = [ "bin" "out" "dev" ];
|
|
|
|
nativeBuildInputs = [ autoreconfHook pkgconfig ];
|
|
buildInputs = [ libevent openssl ];
|
|
|
|
preBuild = ''
|
|
NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -L${openssl}/lib"
|
|
'';
|
|
|
|
doCheck = true;
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Frame Streams implementation in C";
|
|
homepage = https://github.com/farsightsec/fstrm;
|
|
license = licenses.asl20;
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|
|
|