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

Commits on Nov 5, 2019

  1. python3Packages.nvchecker: 1.4.4 -> 1.5

    marsam authored and Jon committed Nov 5, 2019

    Verified

    This commit was signed with the committer’s verified signature.
    vcunat Vladimír Čunát
    Copy the full SHA
    c855dce View commit details
Showing with 6 additions and 8 deletions.
  1. +6 −8 pkgs/development/python-modules/nvchecker/default.nix
14 changes: 6 additions & 8 deletions pkgs/development/python-modules/nvchecker/default.nix
Original file line number Diff line number Diff line change
@@ -1,22 +1,20 @@
{ stdenv, buildPythonPackage, fetchPypi, pythonOlder, pytest, setuptools, structlog, pytest-asyncio, flaky, tornado, pycurl }:
{ stdenv, buildPythonPackage, fetchPypi, pythonOlder, pytest, setuptools, structlog, pytest-asyncio, flaky, tornado, pycurl, pytest-httpbin }:

buildPythonPackage rec {
pname = "nvchecker";
version = "1.4.4";
version = "1.5";

src = fetchPypi {
inherit pname version;
sha256 = "6276ed2a897a30ccd71bfd7cf9e6b7842f37f3d5a86d7a70fe46f437c62b1875";
sha256 = "0973f7c3ea5ad65fb19837e8915882a9f2c2f21f5c2589005478697391fea2fd";
};

propagatedBuildInputs = [ setuptools structlog tornado pycurl ];
checkInputs = [ pytest pytest-asyncio flaky ];

# requires network access
doCheck = false;
checkInputs = [ pytest pytest-asyncio flaky pytest-httpbin ];

# disable `test_ubuntupkg` because it requires network
checkPhase = ''
py.test
py.test -m "not needs_net" --ignore=tests/test_ubuntupkg.py
'';

disabled = pythonOlder "3.5";