nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 35 lines 756 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 hatchling, 6}: 7 8buildPythonPackage rec { 9 pname = "hatch-regex-commit"; 10 version = "0.0.4"; 11 pyproject = true; 12 13 src = fetchFromGitHub { 14 owner = "frankie567"; 15 repo = "hatch-regex-commit"; 16 tag = "v${version}"; 17 hash = "sha256-xdt3qszigdCudt2+EpUZPkJzL+XQ6TnVEAMm0sV3zwY="; 18 }; 19 20 build-system = [ hatchling ]; 21 22 dependencies = [ hatchling ]; 23 24 # Module has no tests 25 doCheck = false; 26 27 pythonImportsCheck = [ "hatch_regex_commit" ]; 28 29 meta = { 30 description = "Hatch plugin to create a commit and tag when bumping version"; 31 homepage = "https://github.com/frankie567/hatch-regex-commit"; 32 license = lib.licenses.mit; 33 maintainers = with lib.maintainers; [ fab ]; 34 }; 35}