mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-18 03:34:58 +00:00
6f2ce2a65e
I currently do not have much time to work on nixpkgs. Remove myself as a maintainer from a bunch of packages to avoid that people are waiting on me for a review.
23 lines
512 B
Nix
23 lines
512 B
Nix
{lib, buildPythonPackage, fetchFromGitHub, numpy, pkgs, pybind11 }:
|
|
|
|
buildPythonPackage rec {
|
|
inherit (pkgs.fasttext) pname version src;
|
|
|
|
buildInputs = [ pybind11 ];
|
|
|
|
pythonImportsCheck = [ "fasttext" ];
|
|
|
|
propagatedBuildInputs = [ numpy ];
|
|
|
|
preBuild = ''
|
|
HOME=$TMPDIR
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "Python module for text classification and representation learning";
|
|
homepage = "https://fasttext.cc/";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ ];
|
|
};
|
|
}
|