forked from mirrors/nixpkgs
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 {
|
||||
pname = "fasttext";
|
||||
version = "0.9.1";
|
||||
version = "0.9.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "facebookresearch";
|
||||
repo = "fastText";
|
||||
rev = "v${version}";
|
||||
sha256 = "1cbzz98qn8aypp4r5kwwwc9wiq5bwzv51kcsb15xjfs9lz8h3rii";
|
||||
sha256 = "07cz2ghfq6amcljaxpdr5chbd64ph513y8zqmibfx2xwfp74xkhn";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
|
|
|
@ -1,18 +1,12 @@
|
|||
{stdenv, buildPythonPackage, fetchFromGitHub, numpy, pybind11}:
|
||||
{stdenv, buildPythonPackage, fetchFromGitHub, numpy, pkgs, pybind11 }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "fasttext";
|
||||
version = "0.9.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "facebookresearch";
|
||||
repo = "fastText";
|
||||
rev = "v${version}";
|
||||
sha256 = "1cbzz98qn8aypp4r5kwwwc9wiq5bwzv51kcsb15xjfs9lz8h3rii";
|
||||
};
|
||||
inherit (pkgs.fasttext) pname version src;
|
||||
|
||||
buildInputs = [ pybind11 ];
|
||||
|
||||
pythonImportsCheck = [ "fasttext" ];
|
||||
|
||||
propagatedBuildInputs = [ numpy ];
|
||||
|
||||
preBuild = ''
|
||||
|
|
Loading…
Reference in a new issue