nixpkgs/pkgs/applications/networking/instant-messengers/SkypeExport/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

37 lines
1008 B
Nix
Raw Normal View History

2023-01-08 13:25:05 +00:00
{ lib, stdenv, fetchFromGitHub, fetchpatch, cmake, boost }:
2017-12-15 02:06:45 +00:00
stdenv.mkDerivation rec {
pname = "SkypeExport";
2017-12-15 02:06:45 +00:00
version = "1.4.0";
src = fetchFromGitHub {
owner = "Temptin";
repo = "SkypeExport";
rev = "v${version}";
sha256 = "1ilkh0s3dz5cp83wwgmscnfmnyck5qcwqg1yxp9zv6s356dxnbak";
};
2023-01-08 13:25:05 +00:00
patches = [
(fetchpatch {
name = "boost167.patch";
url = "https://github.com/Temptin/SkypeExport/commit/ef60f2e4fc9e4a5764c8d083a73b585457bc10b1.patch";
sha256 = "sha256-t+/v7c66OULmQCD/sNt+iDJeQ/6UG0CJ8uQY2PVSFQo=";
})
];
2017-12-15 02:06:45 +00:00
nativeBuildInputs = [ cmake ];
2023-01-08 13:25:05 +00:00
buildInputs = [ boost ];
2017-12-15 02:06:45 +00:00
preConfigure = "cd src/SkypeExport/_gccbuild/linux";
installPhase = "install -Dt $out/bin SkypeExport";
meta = with lib; {
2017-12-15 02:06:45 +00:00
description = "Export Skype history to HTML";
mainProgram = "SkypeExport";
homepage = "https://github.com/Temptin/SkypeExport";
2017-12-15 02:06:45 +00:00
license = licenses.gpl2;
2023-01-08 13:25:05 +00:00
platforms = platforms.unix;
2021-12-31 18:48:55 +00:00
maintainers = with maintainers; [ yana ];
2017-12-15 02:06:45 +00:00
};
}