Commit 865a96ee authored by Thibault Lemaire's avatar Thibault Lemaire
Browse files

Add nix build based on nixpkgs' derivations

parent 3a2dcfd3
let
linphone_overlay = self: super: {
linphone = super.linphone.overrideAttrs (old: {
src = ./.;
postPatch = old.postPatch + ''
echo "set(FULL_VERSION ${old.version})" >> linphone-app/linphoneqt_version.cmake
'';
});
liblinphone = super.liblinphone.overrideAttrs (old: {
src = ./linphone-sdk/liblinphone;
});
mediastreamer = super.mediastreamer.overrideAttrs (old: {
src = ./linphone-sdk/mediastreamer2;
});
ortp = super.ortp.overrideAttrs (old: {
src = ./linphone-sdk/ortp;
});
bctoolbox = super.bctoolbox.overrideAttrs (old: {
src = ./linphone-sdk/bctoolbox;
});
belle-sip = super.belle-sip.overrideAttrs (old: {
src = ./linphone-sdk/belle-sip;
});
};
in
{ pkgs ? import <nixpkgs> { overlays = [ linphone_overlay ]; }
}:
pkgs.linphone
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment