python312Packages.django-hijack: 3.6.1 -> 3.7.0

https://github.com/django-hijack/django-hijack/releases/tag/3.7.0
This commit is contained in:
Martin Weinelt 2024-10-29 13:59:54 +01:00 committed by Yureka
parent d7981001a1
commit b90ba9caf7
2 changed files with 4 additions and 7894 deletions

View File

@ -1,59 +1,44 @@
{
lib,
fetchFromGitHub,
fetchNpmDeps,
buildPythonPackage,
nix-update-script,
# build-system
flit-gettext,
flit-scm,
nodejs,
npmHooks,
# dependencies
django,
# tests
pytest-cov-stub,
pytest-django,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "django-hijack";
version = "3.6.1";
version = "3.7.0";
pyproject = true;
src = fetchFromGitHub {
owner = "django-hijack";
repo = "django-hijack";
rev = "refs/tags/${version}";
hash = "sha256-xnRVoCs+TyAbvFSBD58MJhwLw7ecKpMFuWewAgmnzqk=";
};
postPatch = ''
sed -i "/addopts/d" pyproject.toml
# missing integrity hashes for yocto-queue, yargs-parser
cp ${./package-lock.json} package-lock.json
'';
npmDeps = fetchNpmDeps {
inherit src postPatch;
hash = "sha256-npAFpdqGdttE4facBimS/y2SqwnCvOHJhd60SPR/IaA=";
hash = "sha256-WQ6s5s4Gccog78++tZX2IZ1605OHGhYSb2aTuU7LyBc=";
};
build-system = [
flit-gettext
flit-scm
nodejs
npmHooks.npmConfigHook
];
dependencies = [ django ];
nativeCheckInputs = [
pytestCheckHook
pytest-cov-stub
pytest-django
];

File diff suppressed because it is too large Load Diff