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

Commits on Feb 20, 2019

  1. python.pkgs.paster-pastedeploy: fix tests compatibility with PasteDep…

    …loy 2+
    Robert Schütz committed Feb 20, 2019
    Copy the full SHA
    4527d4f View commit details
Showing with 10 additions and 1 deletion.
  1. +10 −1 pkgs/development/python-modules/plaster-pastedeploy/default.nix
11 changes: 10 additions & 1 deletion pkgs/development/python-modules/plaster-pastedeploy/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ buildPythonPackage, fetchPypi
{ buildPythonPackage, fetchPypi, fetchpatch
, plaster, PasteDeploy
, pytest, pytestcov
}:
@@ -12,6 +12,15 @@ buildPythonPackage rec {
sha256 = "c231130cb86ae414084008fe1d1797db7e61dc5eaafb5e755de21387c27c6fae";
};

patches = [
# Fix tests compatibility with PasteDeploy 2+
# https://github.com/Pylons/plaster_pastedeploy/pull/17
(fetchpatch {
url = https://github.com/Pylons/plaster_pastedeploy/commit/d77d81a57e917c67a20332beca8f418651172905.patch;
sha256 = "0n5vnqn8kad41kn9grcwiic6c6rhvy1ji3w81s2v9xyk0bd9yryf";
})
];

checkPhase = ''
py.test
'';