mystem: init at 3.1
This commit is contained in:
parent
7e6756af41
commit
16492f9815
26
pkgs/applications/misc/mystem/default.nix
Normal file
26
pkgs/applications/misc/mystem/default.nix
Normal file
@ -0,0 +1,26 @@
|
||||
{stdenv, fetchurl }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "mystem-${version}";
|
||||
version = "3.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://download.cdn.yandex.net/mystem/${name}-linux-64bit.tar.gz";
|
||||
sha256 = "0q3vxvyj5bqllqnlivy5llss39z7j0bgpn6kv8mrc54vjdhppx10";
|
||||
};
|
||||
|
||||
buildCommand = ''
|
||||
tar -xaf "$src"
|
||||
mkdir -p $out/bin
|
||||
install -Dm755 mystem $out/bin/mystem
|
||||
patchelf --set-interpreter $(cat ${stdenv.cc}/nix-support/dynamic-linker) $out/bin/mystem
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Morphological analysis of Russian text";
|
||||
homepage = https://yandex.ru/dev/mystem/;
|
||||
license = licenses.unfreeRedistributable;
|
||||
maintainers = with maintainers; [ abbradar ];
|
||||
platforms = [ "x86_64-linux" ];
|
||||
};
|
||||
}
|
@ -19292,6 +19292,8 @@ in
|
||||
|
||||
mupdf = callPackage ../applications/misc/mupdf { };
|
||||
|
||||
mystem = callPackage ../applications/misc/mystem { };
|
||||
|
||||
diffpdf = libsForQt5.callPackage ../applications/misc/diffpdf { };
|
||||
|
||||
diff-pdf = callPackage ../applications/misc/diff-pdf { wxGTK = wxGTK31; };
|
||||
|
Loading…
Reference in New Issue
Block a user