libbutl: 0.15.0 -> 0.16.0
This commit is contained in:
parent
a9867af6b4
commit
5a46feaabc
@ -1,5 +1,6 @@
|
|||||||
{ lib, stdenv
|
{ lib, stdenv
|
||||||
, build2
|
, build2
|
||||||
|
, DarwinTools
|
||||||
, fetchurl
|
, fetchurl
|
||||||
, libuuid
|
, libuuid
|
||||||
, enableShared ? !stdenv.hostPlatform.isStatic
|
, enableShared ? !stdenv.hostPlatform.isStatic
|
||||||
@ -8,17 +9,25 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "libbutl";
|
pname = "libbutl";
|
||||||
version = "0.15.0";
|
version = "0.16.0";
|
||||||
|
|
||||||
outputs = [ "out" "dev" "doc" ];
|
outputs = [ "out" "dev" "doc" ];
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://pkg.cppget.org/1/alpha/build2/libbutl-${version}.tar.gz";
|
url = "https://pkg.cppget.org/1/alpha/build2/libbutl-${version}.tar.gz";
|
||||||
sha256 = "sha256-yzs6DFt6peJPPaMQ3rtx+kiYu7H+bUuShcdnEN90WWI=";
|
hash = "sha256-MGL6P/lG2sJdJXZiTcDvdy4jmU+2jYHsvaX4eEO9J2g=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
build2
|
build2
|
||||||
|
] ++ lib.optionals stdenv.isDarwin [
|
||||||
|
DarwinTools
|
||||||
|
];
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
# Install missing .h files needed by dependers
|
||||||
|
# https://github.com/build2/libbutl/issues/5
|
||||||
|
./install-h-files.patch
|
||||||
];
|
];
|
||||||
|
|
||||||
strictDeps = true;
|
strictDeps = true;
|
||||||
|
22
pkgs/development/libraries/libbutl/install-h-files.patch
Normal file
22
pkgs/development/libraries/libbutl/install-h-files.patch
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
diff --git a/libbutl/buildfile b/libbutl/buildfile
|
||||||
|
index ba4ad96..f5356a1 100644
|
||||||
|
--- a/libbutl/buildfile
|
||||||
|
+++ b/libbutl/buildfile
|
||||||
|
@@ -1,7 +1,7 @@
|
||||||
|
# file : libbutl/buildfile
|
||||||
|
# license : MIT; see accompanying LICENSE file
|
||||||
|
|
||||||
|
-lib{butl}: {hxx ixx txx cxx}{** -uuid-* +uuid-io \
|
||||||
|
+lib{butl}: {h hxx ixx txx cxx}{** -uuid-* +uuid-io \
|
||||||
|
-win32-utility \
|
||||||
|
-mingw-* \
|
||||||
|
-version \
|
||||||
|
@@ -154,7 +154,7 @@ else
|
||||||
|
# Install into the libbutl/ subdirectory of, say, /usr/include/
|
||||||
|
# recreating subdirectories.
|
||||||
|
#
|
||||||
|
-{hxx ixx txx}{*}:
|
||||||
|
+{h hxx ixx txx}{*}:
|
||||||
|
{
|
||||||
|
install = include/libbutl/
|
||||||
|
install.subdirs = true
|
@ -18898,6 +18898,7 @@ with pkgs;
|
|||||||
# Dependency of build2, must also break cycle for this
|
# Dependency of build2, must also break cycle for this
|
||||||
libbutl = callPackage ../development/libraries/libbutl {
|
libbutl = callPackage ../development/libraries/libbutl {
|
||||||
build2 = build2.bootstrap;
|
build2 = build2.bootstrap;
|
||||||
|
inherit (darwin) DarwinTools;
|
||||||
};
|
};
|
||||||
|
|
||||||
libbpkg = callPackage ../development/libraries/libbpkg { };
|
libbpkg = callPackage ../development/libraries/libbpkg { };
|
||||||
|
Loading…
Reference in New Issue
Block a user