nixpkgs/pkgs/by-name/fa/fasttext/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

25 lines
632 B
Nix
Raw Normal View History

{lib, stdenv, fetchFromGitHub, cmake}:
2019-05-02 17:04:55 +00:00
stdenv.mkDerivation rec {
pname = "fasttext";
version = "0.9.2-unstable-2023-11-28";
2019-05-02 17:04:55 +00:00
src = fetchFromGitHub {
owner = "facebookresearch";
repo = "fastText";
rev = "6c2204ba66776b700095ff73e3e599a908ffd9c3";
hash = "sha256-lSIah4T+QqZwCRpeI3mxJ7PZT6pSHBO26rcEFfK8DSk=";
2019-05-02 17:04:55 +00:00
};
nativeBuildInputs = [ cmake ];
meta = with lib; {
2019-05-02 17:04:55 +00:00
description = "Library for text classification and representation learning";
mainProgram = "fasttext";
homepage = "https://fasttext.cc/";
2019-05-02 17:04:55 +00:00
license = licenses.mit;
platforms = platforms.unix;
maintainers = [ ];
2019-05-02 17:04:55 +00:00
};
}