mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-13 16:34:27 +00:00
python312Packages.gto: 1.7.1 -> 1.7.2 (#361386)
This commit is contained in:
commit
ec852ae44e
@ -8,6 +8,7 @@
|
||||
funcy,
|
||||
git,
|
||||
pydantic,
|
||||
pytest-cov-stub,
|
||||
pytest-mock,
|
||||
pytest-test-utils,
|
||||
pytestCheckHook,
|
||||
@ -16,40 +17,32 @@
|
||||
ruamel-yaml,
|
||||
scmrepo,
|
||||
semver,
|
||||
setuptools,
|
||||
setuptools-scm,
|
||||
setuptools,
|
||||
tabulate,
|
||||
typer,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "gto";
|
||||
version = "1.7.1";
|
||||
version = "1.7.2";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
disabled = pythonOlder "3.9";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "iterative";
|
||||
repo = "gto";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-fUi+/PW05EvgTnoEv1Im1BjZ07VzpZhyW0EjhLUqJGI=";
|
||||
hash = "sha256-8ht22RqiGWqDoBrZnX5p3KKOLVPRm1a54962qKlTK4Q=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace-fail ', "setuptools_scm_git_archive==1.4.1"' ""
|
||||
substituteInPlace setup.cfg \
|
||||
--replace-fail " --cov=gto --cov-report=term-missing --cov-report=xml" ""
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
fastentrypoints
|
||||
build-system = [
|
||||
setuptools
|
||||
setuptools-scm
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
dependencies = [
|
||||
entrypoints
|
||||
funcy
|
||||
pydantic
|
||||
@ -64,6 +57,7 @@ buildPythonPackage rec {
|
||||
nativeCheckInputs = [
|
||||
freezegun
|
||||
git
|
||||
pytest-cov-stub
|
||||
pytest-mock
|
||||
pytest-test-utils
|
||||
pytestCheckHook
|
||||
|
Loading…
Reference in New Issue
Block a user