mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-20 20:53:48 +00:00
python3Packages.django-redis: 5.1.0 -> 5.2.0
Kill redis to fix the test hanging on darwin.
This commit is contained in:
parent
36839cd87b
commit
da650817b8
@ -19,7 +19,7 @@
|
|||||||
|
|
||||||
let
|
let
|
||||||
pname = "django-redis";
|
pname = "django-redis";
|
||||||
version = "5.1.0";
|
version = "5.2.0";
|
||||||
in
|
in
|
||||||
buildPythonPackage {
|
buildPythonPackage {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
@ -30,7 +30,7 @@ buildPythonPackage {
|
|||||||
owner = "jazzband";
|
owner = "jazzband";
|
||||||
repo = "django-redis";
|
repo = "django-redis";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "sha256-S94qH2W5e65yzGfPxpwBUKhvvVS0Uc/zSyo66bnvzf4=";
|
sha256 = "sha256-e8wCgfxBT+WKFY4H83CTMirTpQym3QAoeWnXbRCDO90=";
|
||||||
};
|
};
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
@ -53,6 +53,11 @@ buildPythonPackage {
|
|||||||
|
|
||||||
preCheck = ''
|
preCheck = ''
|
||||||
${pkgs.redis}/bin/redis-server &
|
${pkgs.redis}/bin/redis-server &
|
||||||
|
REDIS_PID=$!
|
||||||
|
'';
|
||||||
|
|
||||||
|
postCheck = ''
|
||||||
|
kill $REDIS_PID
|
||||||
'';
|
'';
|
||||||
|
|
||||||
checkInputs = [
|
checkInputs = [
|
||||||
|
Loading…
Reference in New Issue
Block a user