Merge pull request #86193 from danieldk/fasttext-0.9.2
fasttext: 0.9.1 -> 0.9.2
This commit is contained in:
commit
f66d5bc63e
@ -2,13 +2,13 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "fasttext";
|
pname = "fasttext";
|
||||||
version = "0.9.1";
|
version = "0.9.2";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "facebookresearch";
|
owner = "facebookresearch";
|
||||||
repo = "fastText";
|
repo = "fastText";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "1cbzz98qn8aypp4r5kwwwc9wiq5bwzv51kcsb15xjfs9lz8h3rii";
|
sha256 = "07cz2ghfq6amcljaxpdr5chbd64ph513y8zqmibfx2xwfp74xkhn";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake ];
|
nativeBuildInputs = [ cmake ];
|
||||||
|
@ -1,18 +1,12 @@
|
|||||||
{stdenv, buildPythonPackage, fetchFromGitHub, numpy, pybind11}:
|
{stdenv, buildPythonPackage, fetchFromGitHub, numpy, pkgs, pybind11 }:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "fasttext";
|
inherit (pkgs.fasttext) pname version src;
|
||||||
version = "0.9.1";
|
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
|
||||||
owner = "facebookresearch";
|
|
||||||
repo = "fastText";
|
|
||||||
rev = "v${version}";
|
|
||||||
sha256 = "1cbzz98qn8aypp4r5kwwwc9wiq5bwzv51kcsb15xjfs9lz8h3rii";
|
|
||||||
};
|
|
||||||
|
|
||||||
buildInputs = [ pybind11 ];
|
buildInputs = [ pybind11 ];
|
||||||
|
|
||||||
|
pythonImportsCheck = [ "fasttext" ];
|
||||||
|
|
||||||
propagatedBuildInputs = [ numpy ];
|
propagatedBuildInputs = [ numpy ];
|
||||||
|
|
||||||
preBuild = ''
|
preBuild = ''
|
||||||
|
Loading…
x
Reference in New Issue
Block a user