summary refs log tree commit diff
path: root/pkgs/applications/misc/lsd2dsl
diff options
context:
space:
mode:
authorNikolay Korotkiy <sikmir@gmail.com>2019-09-26 10:49:59 +0300
committerNikolay Korotkiy <sikmir@gmail.com>2019-09-26 11:42:48 +0300
commit6d4a015d6568688e15dad6144e121787aee73af4 (patch)
tree80ad4db47667d8cf1d92fd84379fde00887a4422 /pkgs/applications/misc/lsd2dsl
parentbf7a1d6afe7f4f50802748b7b8211a4006221e7a (diff)
downloadnixpkgs-6d4a015d6568688e15dad6144e121787aee73af4.tar
nixpkgs-6d4a015d6568688e15dad6144e121787aee73af4.tar.gz
nixpkgs-6d4a015d6568688e15dad6144e121787aee73af4.tar.bz2
nixpkgs-6d4a015d6568688e15dad6144e121787aee73af4.tar.lz
nixpkgs-6d4a015d6568688e15dad6144e121787aee73af4.tar.xz
nixpkgs-6d4a015d6568688e15dad6144e121787aee73af4.tar.zst
nixpkgs-6d4a015d6568688e15dad6144e121787aee73af4.zip
lsd2dsl: init at 0.4.1
Diffstat (limited to 'pkgs/applications/misc/lsd2dsl')
-rw-r--r--pkgs/applications/misc/lsd2dsl/default.nix36
1 files changed, 36 insertions, 0 deletions
diff --git a/pkgs/applications/misc/lsd2dsl/default.nix b/pkgs/applications/misc/lsd2dsl/default.nix
new file mode 100644
index 00000000000..5dd5fa0f512
--- /dev/null
+++ b/pkgs/applications/misc/lsd2dsl/default.nix
@@ -0,0 +1,36 @@
+{ 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 Lingvo’s proprietary dictionaries.
+    '';
+    license = licenses.mit;
+    maintainers = with maintainers; [ sikmir ];
+    platforms = with platforms; linux;
+  };
+}