mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-13 08:05:40 +00:00
80ceb35158
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/python3.7-nvchecker/versions
32 lines
938 B
Nix
32 lines
938 B
Nix
{ stdenv, buildPythonPackage, fetchPypi, pythonOlder, pytest, setuptools, structlog, pytest-asyncio, pytest_xdist, flaky, tornado, pycurl }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "nvchecker";
|
|
version = "1.3";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "0lgcc05c515d7692zvcmf36n2qpyn0bi018i1z3jy73abm04230j";
|
|
};
|
|
|
|
propagatedBuildInputs = [ setuptools structlog tornado pycurl ];
|
|
checkInputs = [ pytest pytest-asyncio pytest_xdist flaky ];
|
|
|
|
# Disable tests for now, because our version of pytest seems to be too new
|
|
# https://github.com/lilydjwg/nvchecker/commit/42a02efec84824a073601e1c2de30339d251e4c7
|
|
doCheck = false;
|
|
|
|
checkPhase = ''
|
|
py.test
|
|
'';
|
|
|
|
disabled = pythonOlder "3.5";
|
|
|
|
meta = with stdenv.lib; {
|
|
homepage = https://github.com/lilydjwg/nvchecker;
|
|
description = "New version checker for software";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ marsam ];
|
|
};
|
|
}
|