at master 882 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 pdm-backend, 6 binaryornot, 7 pytest-cov-stub, 8 pytestCheckHook, 9}: 10 11buildPythonPackage rec { 12 pname = "test2ref"; 13 version = "1.1.1"; 14 pyproject = true; 15 16 src = fetchFromGitHub { 17 owner = "nbiotcloud"; 18 repo = "test2ref"; 19 tag = "v${version}"; 20 hash = "sha256-Lo0rXKpiXGZle6X2f2Zofc/ihzAqruDyKNP4wp2jqv4="; 21 }; 22 23 build-system = [ 24 pdm-backend 25 ]; 26 27 dependencies = [ 28 binaryornot 29 ]; 30 31 pythonImportsCheck = [ "test2ref" ]; 32 33 nativeCheckInputs = [ 34 pytest-cov-stub 35 pytestCheckHook 36 ]; 37 38 meta = { 39 description = "Testing Against Learned Reference Data"; 40 homepage = "https://github.com/nbiotcloud/test2ref"; 41 changelog = "https://github.com/nbiotcloud/test2ref/releases/tag/${src.tag}"; 42 license = lib.licenses.mit; 43 maintainers = with lib.maintainers; [ GaetanLepage ]; 44 }; 45}