python311Packages.gto: refactor

This commit is contained in:
Fabian Affolter 2024-03-21 21:39:26 +01:00
parent 74f5fc5205
commit 2a2690c760

View file

@ -37,9 +37,9 @@ buildPythonPackage rec {
postPatch = ''
substituteInPlace pyproject.toml \
--replace ', "setuptools_scm_git_archive==1.4.1"' ""
--replace-fail ', "setuptools_scm_git_archive==1.4.1"' ""
substituteInPlace setup.cfg \
--replace " --cov=gto --cov-report=term-missing --cov-report=xml" ""
--replace-fail " --cov=gto --cov-report=term-missing --cov-report=xml" ""
'';
nativeBuildInputs = [
@ -88,10 +88,10 @@ buildPythonPackage rec {
meta = with lib; {
description = "Module for Git Tag Operations";
mainProgram = "gto";
homepage = "https://github.com/iterative/gto";
changelog = "https://github.com/iterative/gto/releases/tag/${version}";
license = licenses.asl20;
maintainers = with maintainers; [ fab ];
mainProgram = "gto";
};
}