3
0
Fork 0
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:
Jörg Thalheim 2020-04-28 14:27:58 +01:00 committed by GitHub
commit f66d5bc63e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 12 deletions

View file

@ -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 ];

View file

@ -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 = ''