SkypeExport: add darwin support
This commit is contained in:
parent
dce3b02d44
commit
b2bdec584c
|
@ -1,4 +1,4 @@
|
|||
{ lib, stdenv, fetchFromGitHub, cmake, boost166 }:
|
||||
{ lib, stdenv, fetchFromGitHub, fetchpatch, cmake, boost }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "SkypeExport";
|
||||
|
@ -11,8 +11,16 @@ stdenv.mkDerivation rec {
|
|||
sha256 = "1ilkh0s3dz5cp83wwgmscnfmnyck5qcwqg1yxp9zv6s356dxnbak";
|
||||
};
|
||||
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
name = "boost167.patch";
|
||||
url = "https://github.com/Temptin/SkypeExport/commit/ef60f2e4fc9e4a5764c8d083a73b585457bc10b1.patch";
|
||||
sha256 = "sha256-t+/v7c66OULmQCD/sNt+iDJeQ/6UG0CJ8uQY2PVSFQo=";
|
||||
})
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
buildInputs = [ boost166 ];
|
||||
buildInputs = [ boost ];
|
||||
|
||||
preConfigure = "cd src/SkypeExport/_gccbuild/linux";
|
||||
installPhase = "install -Dt $out/bin SkypeExport";
|
||||
|
@ -21,7 +29,7 @@ stdenv.mkDerivation rec {
|
|||
description = "Export Skype history to HTML";
|
||||
homepage = "https://github.com/Temptin/SkypeExport";
|
||||
license = licenses.gpl2;
|
||||
platforms = platforms.linux;
|
||||
platforms = platforms.unix;
|
||||
maintainers = with maintainers; [ yana ];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue