Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
866 B · 37 lines
Nix
at litex
1234567891011121314151617181920212223242526272829303132333435363738{ lib, buildPythonPackage, fetchFromGitHub, setuptools, pytestCheckHook, pytest-socket, pytest-mock}:
buildPythonPackage rec { pname = "luddite"; version = "1.0.2";
src = fetchFromGitHub { owner = "jumptrading"; repo = pname; rev = "v${version}"; sha256 = "8/7uwO5HLhyXYt+T6VUO/O7TN9+FfRlT8y0r5+CJ/l4="; };
postPatch = '' substituteInPlace pytest.ini \ --replace "--cov=luddite --cov-report=html --cov-report=term --no-cov-on-fail" "" '';
propagatedBuildInputs = [ setuptools ];
nativeCheckInputs = [ pytestCheckHook pytest-socket pytest-mock ]; pythonImportsCheck = [ "luddite" ];
meta = with lib; { description = "Checks for out-of-date package versions"; homepage = "https://github.com/jumptrading/luddite"; license = licenses.asl20; maintainers = with maintainers; [ emilytrau ]; };}