mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-19 02:24:30 +00:00
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:
parent
d7981001a1
commit
b90ba9caf7
@ -1,59 +1,44 @@
|
|||||||
{
|
{
|
||||||
lib,
|
lib,
|
||||||
fetchFromGitHub,
|
fetchFromGitHub,
|
||||||
fetchNpmDeps,
|
|
||||||
buildPythonPackage,
|
buildPythonPackage,
|
||||||
nix-update-script,
|
nix-update-script,
|
||||||
|
|
||||||
# build-system
|
# build-system
|
||||||
flit-gettext,
|
flit-gettext,
|
||||||
flit-scm,
|
flit-scm,
|
||||||
nodejs,
|
|
||||||
npmHooks,
|
|
||||||
|
|
||||||
# dependencies
|
# dependencies
|
||||||
django,
|
django,
|
||||||
|
|
||||||
# tests
|
# tests
|
||||||
|
pytest-cov-stub,
|
||||||
pytest-django,
|
pytest-django,
|
||||||
pytestCheckHook,
|
pytestCheckHook,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "django-hijack";
|
pname = "django-hijack";
|
||||||
version = "3.6.1";
|
version = "3.7.0";
|
||||||
pyproject = true;
|
pyproject = true;
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "django-hijack";
|
owner = "django-hijack";
|
||||||
repo = "django-hijack";
|
repo = "django-hijack";
|
||||||
rev = "refs/tags/${version}";
|
rev = "refs/tags/${version}";
|
||||||
hash = "sha256-xnRVoCs+TyAbvFSBD58MJhwLw7ecKpMFuWewAgmnzqk=";
|
hash = "sha256-WQ6s5s4Gccog78++tZX2IZ1605OHGhYSb2aTuU7LyBc=";
|
||||||
};
|
|
||||||
|
|
||||||
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=";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
build-system = [
|
build-system = [
|
||||||
flit-gettext
|
flit-gettext
|
||||||
flit-scm
|
flit-scm
|
||||||
nodejs
|
|
||||||
npmHooks.npmConfigHook
|
|
||||||
];
|
];
|
||||||
|
|
||||||
dependencies = [ django ];
|
dependencies = [ django ];
|
||||||
|
|
||||||
nativeCheckInputs = [
|
nativeCheckInputs = [
|
||||||
pytestCheckHook
|
pytestCheckHook
|
||||||
|
pytest-cov-stub
|
||||||
pytest-django
|
pytest-django
|
||||||
];
|
];
|
||||||
|
|
||||||
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user