nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 43 lines 972 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 poetry-core, 6 pysigma, 7 pytestCheckHook, 8 requests, 9}: 10 11buildPythonPackage (finalAttrs: { 12 pname = "pysigma-backend-sqlite"; 13 version = "1.1.3"; 14 pyproject = true; 15 16 src = fetchFromGitHub { 17 owner = "SigmaHQ"; 18 repo = "pySigma-backend-sqlite"; 19 tag = "v${finalAttrs.version}"; 20 hash = "sha256-+QiRfuLdhRo8wlQG3EM2wGD1VhlauuMrbrX8NDflguA="; 21 }; 22 23 pythonRelaxDeps = [ "pysigma" ]; 24 25 build-system = [ poetry-core ]; 26 27 dependencies = [ pysigma ]; 28 29 nativeCheckInputs = [ 30 pytestCheckHook 31 requests 32 ]; 33 34 pythonImportsCheck = [ "sigma.backends.sqlite" ]; 35 36 meta = { 37 description = "Library to support sqlite for pySigma"; 38 homepage = "https://github.com/SigmaHQ/pySigma-backend-sqlite"; 39 changelog = "https://github.com/SigmaHQ/pySigma-backend-sqlite/releases/tag/${finalAttrs.src.tag}"; 40 license = lib.licenses.lgpl3Only; 41 maintainers = with lib.maintainers; [ fab ]; 42 }; 43})