Skip to content

Commit

Permalink
marisa-python: fix build (#57013)
Browse files Browse the repository at this point in the history
  • Loading branch information
vanzef authored and xeji committed Mar 8, 2019
1 parent eeb3733 commit 6a11ba3
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions pkgs/development/python-modules/marisa/default.nix
@@ -1,18 +1,22 @@
{ stdenv, buildPythonPackage, fetchFromGitHub, marisa, swig }:
{ stdenv, buildPythonPackage, fetchFromGitHub, marisa, swig
, isPy3k
}:

buildPythonPackage rec {
pname = "marisa";
version = "1.3.40";

disabled = isPy3k;

src = fetchFromGitHub {
owner = "s-yata";
repo = "marisa-trie";
rev = "59e410597981475bae94d9d9eb252c1d9790dc2f";
sha256 = "0z4bf55np08q3cbi6gvj3cpw3zp8kf2d0jq6k74pjk066m7rapbb";
rev = "8dba9850b89d7828ebf33b8ab84df2b54d31260b";
sha256 = "0pkp9fggk53lxlicfwrskgx33qplc4v6njbavlnz4x4z63zd4933";
};

nativeBuildInputs = [ swig marisa ];
buildinputs = [ marisa ];
buildInputs = [ marisa ];

sourceRoot = "${src.name}/bindings/python";

Expand Down

0 comments on commit 6a11ba3

Please sign in to comment.