nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 40 lines 790 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 hatchling, 6 pytestCheckHook, 7 regex, 8}: 9 10buildPythonPackage rec { 11 pname = "backrefs"; 12 version = "6.1"; 13 pyproject = true; 14 15 src = fetchFromGitHub { 16 owner = "facelessuser"; 17 repo = "backrefs"; 18 tag = version; 19 hash = "sha256-MeQsEKHIB7WnITMUtRP4vLLr2DjvrorKHKWxgd07qko="; 20 }; 21 22 build-system = [ 23 hatchling 24 ]; 25 26 pythonImportsCheck = [ "backrefs" ]; 27 28 nativeCheckInputs = [ 29 pytestCheckHook 30 regex 31 ]; 32 33 meta = { 34 description = "Wrapper around re or regex that adds additional back references"; 35 homepage = "https://github.com/facelessuser/backrefs"; 36 changelog = "https://github.com/facelessuser/backrefs/releases/tag/${src.tag}"; 37 license = lib.licenses.mit; 38 maintainers = [ ]; 39 }; 40}