2023-01-20 10:41:00 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, fetchpatch, cmake, boost }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2024-06-20 14:57:18 +00:00
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
|
|
pname = "skypeexport";
|
2020-04-24 23:36:52 +00:00
|
|
|
version = "1.4.0";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "Temptin";
|
|
|
|
repo = "SkypeExport";
|
2024-06-20 14:57:18 +00:00
|
|
|
rev = "v${finalAttrs.version}";
|
2020-04-24 23:36:52 +00:00
|
|
|
sha256 = "1ilkh0s3dz5cp83wwgmscnfmnyck5qcwqg1yxp9zv6s356dxnbak";
|
|
|
|
};
|
|
|
|
|
2023-01-20 10:41:00 +00:00
|
|
|
patches = [
|
|
|
|
(fetchpatch {
|
|
|
|
name = "boost167.patch";
|
|
|
|
url = "https://github.com/Temptin/SkypeExport/commit/ef60f2e4fc9e4a5764c8d083a73b585457bc10b1.patch";
|
|
|
|
sha256 = "sha256-t+/v7c66OULmQCD/sNt+iDJeQ/6UG0CJ8uQY2PVSFQo=";
|
|
|
|
})
|
|
|
|
];
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
nativeBuildInputs = [ cmake ];
|
2023-01-20 10:41:00 +00:00
|
|
|
buildInputs = [ boost ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
preConfigure = "cd src/SkypeExport/_gccbuild/linux";
|
|
|
|
installPhase = "install -Dt $out/bin SkypeExport";
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Export Skype history to HTML";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "SkypeExport";
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://github.com/Temptin/SkypeExport";
|
|
|
|
license = licenses.gpl2;
|
2023-01-20 10:41:00 +00:00
|
|
|
platforms = platforms.unix;
|
2024-07-27 06:49:29 +00:00
|
|
|
maintainers = with maintainers; [ ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
2024-06-20 14:57:18 +00:00
|
|
|
})
|