Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.3 kB · 81 lines
Nix
at litex
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182{ lib, aiohttp, platformdirs, buildPythonPackage, docutils, fetchFromGitHub, flaky, installShellFiles, packaging, pycurl, pytest-asyncio, pytest-httpbin, pytestCheckHook, pythonOlder, setuptools, structlog, tomli, tornado}:
buildPythonPackage rec { pname = "nvchecker"; version = "2.11"; format = "pyproject";
disabled = pythonOlder "3.7";
src = fetchFromGitHub { owner = "lilydjwg"; repo = pname; rev = "v${version}"; hash = "sha256-b/EGn26gTpnYuy2h6shnJI1dRwhl41eKJHzDJoFG1YI="; };
nativeBuildInputs = [ docutils installShellFiles ];
propagatedBuildInputs = [ aiohttp platformdirs packaging pycurl setuptools structlog tomli tornado ];
nativeCheckInputs = [ flaky pytest-asyncio pytest-httpbin pytestCheckHook ];
postBuild = '' patchShebangs docs/myrst2man.py make -C docs man '';
postInstall = '' installManPage docs/_build/man/nvchecker.1 '';
pythonImportsCheck = [ "nvchecker" ];
pytestFlagsArray = [ "-m 'not needs_net'" ];
meta = with lib; { homepage = "https://github.com/lilydjwg/nvchecker"; description = "New version checker for software"; license = licenses.mit; maintainers = with maintainers; [ marsam ]; };}