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: 8a41d6631c01
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 46ce40ba6a6f
Choose a head ref
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on Jun 15, 2019

  1. Copy the full SHA
    46ce40b View commit details
Showing with 8 additions and 4 deletions.
  1. +8 −4 pkgs/development/python-modules/matchpy/default.nix
12 changes: 8 additions & 4 deletions pkgs/development/python-modules/matchpy/default.nix
Original file line number Diff line number Diff line change
@@ -3,7 +3,7 @@
, fetchPypi
, hopcroftkarp
, multiset
, pytest
, pytest_3
, pytestrunner
, hypothesis
, setuptools_scm
@@ -12,16 +12,20 @@

buildPythonPackage rec {
pname = "matchpy";
version = "0.4.6";
version = "0.5.1";
disabled = isPy27;

src = fetchPypi {
inherit pname version;
sha256 = "eefa1e50a10e1255db61bc2522a6768ad0701f8854859f293ebaa442286faadd";
sha256 = "1vvf1cd9kw5z1mzvypc9f030nd18lgvvjc8j56b1s9b7dyslli2r";
};

postPatch = ''
substituteInPlace setup.cfg --replace "hypothesis>=3.6,<4.0" "hypothesis"
'';

buildInputs = [ setuptools_scm pytestrunner ];
checkInputs = [ pytest hypothesis ];
checkInputs = [ pytest_3 hypothesis ];
propagatedBuildInputs = [ hopcroftkarp multiset ];

meta = with lib; {