Commit 2a2690c7 authored by Fabian Affolter's avatar Fabian Affolter
Browse files

python311Packages.gto: refactor

parent 74f5fc52
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -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";
  };
}