commit 59192506bcc205e230c7b6a92272303ec41724d3
parent 1a893b0eaecc95718f579faa1745c13fe1a1213a
Author: Nikolay Korotkiy <sikmir@gmail.com>
Date: Tue, 24 Dec 2019 22:23:37 +0300
Add lsdreader
Diffstat:
3 files changed, 32 insertions(+), 0 deletions(-)
diff --git a/default.nix b/default.nix
@@ -44,6 +44,9 @@ in {
gpxtools = callPackage ./pkgs/gpxtools {
inherit (sources) gpxtools;
};
+ lsdreader = python3Packages.callPackage ./pkgs/lsdreader {
+ inherit (sources) lsdreader;
+ };
gt4gd = python3Packages.callPackage ./pkgs/gt4gd {
inherit (sources) google-translate-for-goldendict;
};
diff --git a/nix/sources.json b/nix/sources.json
@@ -119,6 +119,18 @@
"url": "https://notabug.org/irdvo/gpxtools/archive/b989f357abb9f9b694cbe95081dd8d1094019233.tar.gz",
"url_template": "https://notabug.org/<owner>/<repo>/archive/<rev>.tar.gz"
},
+ "lsdreader": {
+ "branch": "master",
+ "description": "decompile Lingvo LSD dictionary to DSL",
+ "homepage": "",
+ "owner": "sv99",
+ "repo": "lsdreader",
+ "rev": "c78ab22e794f1fbfbc93ffb3ee7ae481f54dd8c2",
+ "sha256": "039biv10772zrw6s8a0ydgv9z995gw13wgvsr514ck9s6icxyddx",
+ "type": "tarball",
+ "url": "https://github.com/sv99/lsdreader/archive/c78ab22e794f1fbfbc93ffb3ee7ae481f54dd8c2.tar.gz",
+ "url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
+ },
"mapper": {
"branch": "master",
"description": "OpenOrienteering Mapper is a software for creating maps for the orienteering sport.",
diff --git a/pkgs/lsdreader/default.nix b/pkgs/lsdreader/default.nix
@@ -0,0 +1,17 @@
+{ lib, buildPythonApplication, lsdreader }:
+
+buildPythonApplication rec {
+ pname = "lsdreader";
+ version = lib.substring 0 7 src.rev;
+ src = lsdreader;
+
+ doCheck = false;
+
+ meta = with lib; {
+ description = lsdreader.description;
+ homepage = "https://github.com/sv99/lsdreader";
+ license = licenses.free;
+ platforms = platforms.unix;
+ maintainers = with maintainers; [ sikmir ];
+ };
+}