2019-05-02 18:04:55 +01:00
|
|
|
{stdenv, fetchFromGitHub, cmake}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "fasttext";
|
2019-07-11 18:49:07 +01:00
|
|
|
version = "0.9.1";
|
2019-05-02 18:04:55 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "facebookresearch";
|
|
|
|
repo = "fastText";
|
2019-07-11 18:49:07 +01:00
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "1cbzz98qn8aypp4r5kwwwc9wiq5bwzv51kcsb15xjfs9lz8h3rii";
|
2019-05-02 18:04:55 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Library for text classification and representation learning";
|
|
|
|
homepage = https://fasttext.cc/;
|
|
|
|
license = licenses.mit;
|
|
|
|
platforms = platforms.unix;
|
|
|
|
maintainers = [ maintainers.danieldk ];
|
|
|
|
};
|
|
|
|
}
|