mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-25 17:55:21 +00:00
boost-build: enable strictDeps, enable structuredAttrs, modernize (#552693)
This commit is contained in:
@@ -23,7 +23,7 @@ stdenv.mkDerivation {
|
||||
useBoost.src or (fetchFromGitHub {
|
||||
owner = "boostorg";
|
||||
repo = "build";
|
||||
rev = defaultVersion;
|
||||
tag = defaultVersion;
|
||||
sha256 = "1r4rwlq87ydmsdqrik4ly5iai796qalvw7603mridg2nwcbbnf54";
|
||||
});
|
||||
|
||||
@@ -58,6 +58,8 @@ stdenv.mkDerivation {
|
||||
bison
|
||||
];
|
||||
|
||||
strictDeps = true;
|
||||
|
||||
buildPhase = ''
|
||||
runHook preBuild
|
||||
./bootstrap.sh
|
||||
@@ -76,6 +78,8 @@ stdenv.mkDerivation {
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
__structuredAttrs = true;
|
||||
|
||||
meta = {
|
||||
homepage = "https://www.boost.org/build/";
|
||||
license = lib.licenses.boost;
|
||||
|
||||
Reference in New Issue
Block a user