1 {lib, stdenv, fetchurl }:
3 stdenv.mkDerivation rec {
8 url = "http://download.cdn.yandex.net/mystem/${pname}-${version}-linux-64bit.tar.gz";
9 sha256 = "0qha7jvkdmil3jiwrpsfhkqsbkqn9dzgx3ayxwjdmv73ikmg95j6";
15 install -Dm755 mystem $out/bin/mystem
16 patchelf --set-interpreter $(cat ${stdenv.cc}/nix-support/dynamic-linker) $out/bin/mystem
20 description = "Morphological analysis of Russian text";
21 homepage = "https://yandex.ru/dev/mystem/";
22 sourceProvenance = with sourceTypes; [ binaryNativeCode ];
23 license = licenses.unfreeRedistributable;
24 maintainers = with maintainers; [ abbradar ];
25 platforms = [ "x86_64-linux" ];