Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 cmake, 6}: 7 8stdenv.mkDerivation { 9 pname = "fasttext"; 10 version = "0.9.2-unstable-2023-11-28"; 11 12 src = fetchFromGitHub { 13 owner = "facebookresearch"; 14 repo = "fastText"; 15 rev = "6c2204ba66776b700095ff73e3e599a908ffd9c3"; 16 hash = "sha256-lSIah4T+QqZwCRpeI3mxJ7PZT6pSHBO26rcEFfK8DSk="; 17 }; 18 19 nativeBuildInputs = [ cmake ]; 20 21 meta = with lib; { 22 description = "Library for text classification and representation learning"; 23 mainProgram = "fasttext"; 24 homepage = "https://fasttext.cc/"; 25 license = licenses.mit; 26 platforms = platforms.unix; 27 maintainers = [ ]; 28 }; 29}