Skip to content

Commit

Permalink
Merge pull request #86193 from danieldk/fasttext-0.9.2
Browse files Browse the repository at this point in the history
fasttext: 0.9.1 -> 0.9.2
  • Loading branch information
Mic92 committed Apr 28, 2020
2 parents bf8c103 + deda5e8 commit f66d5bc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 ];
Expand Down
14 changes: 4 additions & 10 deletions pkgs/development/python-modules/fasttext/default.nix
Original file line number Diff line number Diff line change
@@ -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 = ''
Expand Down

0 comments on commit f66d5bc

Please sign in to comment.