3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/science/machine-learning/fasttext/default.nix

24 lines
556 B
Nix
Raw Normal View History

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