mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-13 23:53:26 +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,
|
||||
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
Loading…
Reference in New Issue
Block a user