Merge pull request #225866 from mweinelt/peewee-migrate-1.7.1

python310Packages.peewee-migrate: 1.6.6 -> 1.7.1
This commit is contained in:
Martin Weinelt 2023-04-12 12:57:14 +02:00 committed by GitHub
commit 81cc9c0e8f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3,8 +3,10 @@
, fetchFromGitHub
, pythonOlder
# build-system
, poetry-core
# runtime
, cached-property
, click
, peewee
@ -15,25 +17,27 @@
buildPythonPackage rec {
pname = "peewee-migrate";
version = "1.6.6";
format = "setuptools";
version = "1.7.1";
format = "pyproject";
src = fetchFromGitHub {
owner = "klen";
repo = "peewee_migrate";
rev = "refs/tags/${version}";
hash = "sha256-gUtxsvPj8pwzijia313d553j9U2LP5vKJHxVU1SqsV8=";
hash = "sha256-s7/Ev4nAKUr5OBgziETVCtjlxvBoeoZXriUBuAUi4eE=";
};
nativeBuildInputs = [
poetry-core
];
postPatch = ''
sed -i '/addopts/d' setup.cfg
sed -i '/addopts/d' pyproject.toml
'';
propagatedBuildInputs = [
peewee
click
] ++ lib.optionals (pythonOlder "3.8") [
cached-property
];
pythonImportsCheck = [