Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, stdenv, fetchurl }:
2
3stdenv.mkDerivation rec {
4 pname = "libpipeline";
5 version = "1.5.7";
6
7 src = fetchurl {
8 url = "mirror://savannah/libpipeline/libpipeline-${version}.tar.gz";
9 sha256 = "sha256-uLRRlJiQIqeewTF/ZKKnWxVRsqVb6gb2dwTLKi5GkLA=";
10 };
11
12 patches = lib.optionals stdenv.isDarwin [ ./fix-on-osx.patch ];
13
14 meta = with lib; {
15 homepage = "http://libpipeline.nongnu.org";
16 description = "C library for manipulating pipelines of subprocesses in a flexible and convenient way";
17 platforms = platforms.unix;
18 license = licenses.gpl3;
19 };
20}