python311Packages.gto: refactor
This commit is contained in:
parent
74f5fc5205
commit
2a2690c760
|
@ -37,9 +37,9 @@ buildPythonPackage rec {
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace pyproject.toml \
|
substituteInPlace pyproject.toml \
|
||||||
--replace ', "setuptools_scm_git_archive==1.4.1"' ""
|
--replace-fail ', "setuptools_scm_git_archive==1.4.1"' ""
|
||||||
substituteInPlace setup.cfg \
|
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 = [
|
nativeBuildInputs = [
|
||||||
|
@ -88,10 +88,10 @@ buildPythonPackage rec {
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Module for Git Tag Operations";
|
description = "Module for Git Tag Operations";
|
||||||
mainProgram = "gto";
|
|
||||||
homepage = "https://github.com/iterative/gto";
|
homepage = "https://github.com/iterative/gto";
|
||||||
changelog = "https://github.com/iterative/gto/releases/tag/${version}";
|
changelog = "https://github.com/iterative/gto/releases/tag/${version}";
|
||||||
license = licenses.asl20;
|
license = licenses.asl20;
|
||||||
maintainers = with maintainers; [ fab ];
|
maintainers = with maintainers; [ fab ];
|
||||||
|
mainProgram = "gto";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user