nixpkgs/pkgs/applications/misc/lsd2dsl/default.nix
2019-09-26 11:42:48 +03:00

36 lines
949 B
Nix
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{ mkDerivation, lib, fetchFromGitHub, cmake
, boost, libvorbis, libsndfile, minizip, gtest }:
mkDerivation rec {
pname = "lsd2dsl";
version = "0.4.1";
src = fetchFromGitHub {
owner = "nongeneric";
repo = pname;
rev = "v${version}";
sha256 = "15xjp5xxvl0qc4zp553n7djrbvdp63sfjw406idgxqinfmkqkqdr";
};
nativeBuildInputs = [ cmake ];
buildInputs = [ boost libvorbis libsndfile minizip gtest ];
NIX_CFLAGS_COMPILE = "-Wno-error=unused-result";
installPhase = ''
install -Dm755 lsd2dsl $out/bin/lsd2dsl
install -m755 qtgui/lsd2dsl-qtgui $out/bin/lsd2dsl-qtgui
'';
meta = with lib; {
homepage = "https://rcebits.com/lsd2dsl/";
description = "Lingvo dictionaries decompiler";
longDescription = ''
A decompiler for ABBYY Lingvos proprietary dictionaries.
'';
license = licenses.mit;
maintainers = with maintainers; [ sikmir ];
platforms = with platforms; linux;
};
}