mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-19 12:11:28 +00:00
python3Packages.luddite: init at 1.0.2
This commit is contained in:
parent
21aa54ea8d
commit
87f2965a8b
37
pkgs/development/python-modules/luddite/default.nix
Normal file
37
pkgs/development/python-modules/luddite/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -25518,6 +25518,8 @@ in
|
|||
|
||||
lscolors = callPackage ../applications/misc/lscolors { };
|
||||
|
||||
luddite = with python3Packages; toPythonApplication luddite;
|
||||
|
||||
lumail = callPackage ../applications/networking/mailreaders/lumail {
|
||||
lua = lua5_1;
|
||||
};
|
||||
|
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue