depot/third_party/nixpkgs/pkgs/by-name/sk/skypeexport/package.nix
Default email f34ce41345 Project import generated by Copybara.
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
2024-07-27 08:49:29 +02:00

36 lines
1 KiB
Nix

{ lib, stdenv, fetchFromGitHub, fetchpatch, cmake, boost }:
stdenv.mkDerivation (finalAttrs: {
pname = "skypeexport";
version = "1.4.0";
src = fetchFromGitHub {
owner = "Temptin";
repo = "SkypeExport";
rev = "v${finalAttrs.version}";
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 = [ boost ];
preConfigure = "cd src/SkypeExport/_gccbuild/linux";
installPhase = "install -Dt $out/bin SkypeExport";
meta = with lib; {
description = "Export Skype history to HTML";
mainProgram = "SkypeExport";
homepage = "https://github.com/Temptin/SkypeExport";
license = licenses.gpl2;
platforms = platforms.unix;
maintainers = with maintainers; [ ];
};
})