lol

libbutl: 0.15.0 -> 0.16.0

+34 -2
+11 -2
pkgs/development/libraries/libbutl/default.nix
··· 1 { lib, stdenv 2 , build2 3 , fetchurl 4 , libuuid 5 , enableShared ? !stdenv.hostPlatform.isStatic ··· 8 9 stdenv.mkDerivation rec { 10 pname = "libbutl"; 11 - version = "0.15.0"; 12 13 outputs = [ "out" "dev" "doc" ]; 14 15 src = fetchurl { 16 url = "https://pkg.cppget.org/1/alpha/build2/libbutl-${version}.tar.gz"; 17 - sha256 = "sha256-yzs6DFt6peJPPaMQ3rtx+kiYu7H+bUuShcdnEN90WWI="; 18 }; 19 20 nativeBuildInputs = [ 21 build2 22 ]; 23 24 strictDeps = true;
··· 1 { lib, stdenv 2 , build2 3 + , DarwinTools 4 , fetchurl 5 , libuuid 6 , enableShared ? !stdenv.hostPlatform.isStatic ··· 9 10 stdenv.mkDerivation rec { 11 pname = "libbutl"; 12 + version = "0.16.0"; 13 14 outputs = [ "out" "dev" "doc" ]; 15 16 src = fetchurl { 17 url = "https://pkg.cppget.org/1/alpha/build2/libbutl-${version}.tar.gz"; 18 + hash = "sha256-MGL6P/lG2sJdJXZiTcDvdy4jmU+2jYHsvaX4eEO9J2g="; 19 }; 20 21 nativeBuildInputs = [ 22 build2 23 + ] ++ lib.optionals stdenv.isDarwin [ 24 + DarwinTools 25 + ]; 26 + 27 + patches = [ 28 + # Install missing .h files needed by dependers 29 + # https://github.com/build2/libbutl/issues/5 30 + ./install-h-files.patch 31 ]; 32 33 strictDeps = true;
+22
pkgs/development/libraries/libbutl/install-h-files.patch
···
··· 1 + diff --git a/libbutl/buildfile b/libbutl/buildfile 2 + index ba4ad96..f5356a1 100644 3 + --- a/libbutl/buildfile 4 + +++ b/libbutl/buildfile 5 + @@ -1,7 +1,7 @@ 6 + # file : libbutl/buildfile 7 + # license : MIT; see accompanying LICENSE file 8 + 9 + -lib{butl}: {hxx ixx txx cxx}{** -uuid-* +uuid-io \ 10 + +lib{butl}: {h hxx ixx txx cxx}{** -uuid-* +uuid-io \ 11 + -win32-utility \ 12 + -mingw-* \ 13 + -version \ 14 + @@ -154,7 +154,7 @@ else 15 + # Install into the libbutl/ subdirectory of, say, /usr/include/ 16 + # recreating subdirectories. 17 + # 18 + -{hxx ixx txx}{*}: 19 + +{h hxx ixx txx}{*}: 20 + { 21 + install = include/libbutl/ 22 + install.subdirs = true
+1
pkgs/top-level/all-packages.nix
··· 18898 # Dependency of build2, must also break cycle for this 18899 libbutl = callPackage ../development/libraries/libbutl { 18900 build2 = build2.bootstrap; 18901 }; 18902 18903 libbpkg = callPackage ../development/libraries/libbpkg { };
··· 18898 # Dependency of build2, must also break cycle for this 18899 libbutl = callPackage ../development/libraries/libbutl { 18900 build2 = build2.bootstrap; 18901 + inherit (darwin) DarwinTools; 18902 }; 18903 18904 libbpkg = callPackage ../development/libraries/libbpkg { };