5 , enableShared ? !stdenv.hostPlatform.isStatic
6 , enableStatic ? !enableShared
9 stdenv.mkDerivation rec {
12 outputs = [ "out" "dev" "doc" ];
15 url = "https://pkg.cppget.org/1/alpha/build2/libbpkg-${version}.tar.gz";
16 sha256 = "sha256-KfvkG6bHSU8wTZDKGeEfI1AV9T8uSYZHePMlmjpBXHc=";
26 build2ConfigureFlags = [
27 "config.bin.lib=${build2.configSharedStatic enableShared enableStatic}"
35 description = "build2 package dependency manager utility library";
37 This library defines the types and utilities for working with build2 packages.
38 In particular, it provides C++ classes as well as the parser and serializer
39 implementations that can be used to read, manipulate, and write package,
40 repository and signature manifests.
42 homepage = "https://build2.org/";
43 changelog = "https://git.build2.org/cgit/libbpkg/log";
44 license = licenses.mit;
45 maintainers = with maintainers; [ r-burns ];
46 platforms = platforms.all;