Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 76c7a8bac083
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: cf1fb28991f2
Choose a head ref
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on Nov 30, 2018

  1. python3Packages.datrie: fix build (#51250)

    veprbl authored and timokau committed Nov 30, 2018
    Copy the full SHA
    cf1fb28 View commit details
Showing with 8 additions and 1 deletion.
  1. +8 −1 pkgs/development/python-modules/datrie/default.nix
9 changes: 8 additions & 1 deletion pkgs/development/python-modules/datrie/default.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{ stdenv, buildPythonPackage, fetchPypi
, pytest, pytestrunner, hypothesis}:
, cython, pytest, pytestrunner, hypothesis }:

buildPythonPackage rec {
pname = "datrie";
@@ -10,8 +10,15 @@ buildPythonPackage rec {
sha256 = "08r0if7dry2q7p34gf7ffyrlnf4bdvnprxgydlfxgfnvq8f3f4bs";
};

nativeBuildInputs = [ cython ];
buildInputs = [ pytest pytestrunner hypothesis ];

# recompile pxd and pyx for python37
# https://github.com/pytries/datrie/issues/52
preBuild = ''
./update_c.sh
'';

meta = with stdenv.lib; {
description = "Super-fast, efficiently stored Trie for Python";
homepage = "https://github.com/kmike/datrie";