Skip to content

Instantly share code, notes, and snippets.

@haslersn
Created June 6, 2019 08:45
Show Gist options
  • Save haslersn/9b542f7efff730af69015c9934d3b3d7 to your computer and use it in GitHub Desktop.
Save haslersn/9b542f7efff730af69015c9934d3b3d7 to your computer and use it in GitHub Desktop.
libdjinterop with boost 1.59
with import <nixpkgs> {};
let
libdjinterop = stdenv.mkDerivation {
name = "libdjinterop";
version = "2019-06-05";
src = fetchFromGitHub {
owner = "xsco";
repo = "libdjinterop";
rev = "6cdf066a8a137c3ff1fe8987e2a1dc23c86262de";
sha256 = "1n0ln88nnh1aj5yaw9fqnnydz3w3a7l6j9nc6ilqc0nvg001flnv";
};
nativeBuildInputs = [
meson
ninja
pkg-config
];
buildInputs = [
zlib
boost159
];
configurePhase = ''
meson build/
'';
buildPhase = ''
ninja -C build/
'';
checkPhase = ''
ninja -C build/ check
'';
installPhase = ''
ninja -C build/ install
'';
};
in
stdenv.mkDerivation {
name = "mixxx-env";
nativeBuildInputs = [
scons
pkg-config
];
buildInputs = [
qt5Full
libdjinterop
];
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment