3
0
Fork 0
forked from mirrors/nixpkgs

python3Packages.luddite: init at 1.0.2

This commit is contained in:
Angus Trau 2021-07-26 10:53:29 +10:00 committed by Jonathan Ringer
parent 21aa54ea8d
commit 87f2965a8b
3 changed files with 41 additions and 0 deletions

View file

@ -0,0 +1,37 @@
{ 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 ];
checkInputs = [ 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; [ angustrau ];
};
}

View file

@ -25518,6 +25518,8 @@ in
lscolors = callPackage ../applications/misc/lscolors { };
luddite = with python3Packages; toPythonApplication luddite;
lumail = callPackage ../applications/networking/mailreaders/lumail {
lua = lua5_1;
};

View file

@ -4248,6 +4248,8 @@ in {
lsassy = callPackage ../development/python-modules/lsassy { };
luddite = callPackage ../development/python-modules/luddite { };
ludios_wpull = callPackage ../development/python-modules/ludios_wpull { };
luftdaten = callPackage ../development/python-modules/luftdaten { };