nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 55 lines 991 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 flask, 6 logmatic-python, 7 pytestCheckHook, 8 pyyaml, 9 requests, 10 setuptools, 11 testfixtures, 12}: 13 14buildPythonPackage rec { 15 pname = "reconplogger"; 16 version = "4.18.1"; 17 pyproject = true; 18 19 src = fetchFromGitHub { 20 owner = "omni-us"; 21 repo = "reconplogger"; 22 tag = "v${version}"; 23 hash = "sha256-kYNidF1sTC6WulX3HXMUm+TFJWvHgZj86Asmi6uIKRs="; 24 }; 25 26 build-system = [ setuptools ]; 27 28 dependencies = [ 29 logmatic-python 30 pyyaml 31 ]; 32 33 optional-dependencies = { 34 all = [ 35 flask 36 requests 37 ]; 38 }; 39 40 nativeCheckInputs = [ 41 pytestCheckHook 42 testfixtures 43 ]; 44 45 pythonImportsCheck = [ "reconplogger" ]; 46 47 enabledTestPaths = [ "reconplogger_tests.py" ]; 48 49 meta = { 50 description = "Module to ease the standardization of logging within omni:us"; 51 homepage = "https://github.com/omni-us/reconplogger"; 52 license = lib.licenses.mit; 53 maintainers = with lib.maintainers; [ fab ]; 54 }; 55}