svtplay-dl: 3.7 -> 3.9.1

This commit is contained in:
Robert Helgesson 2021-06-10 22:27:57 +02:00
parent 6c32f4e172
commit f6984fbe37

View File

@ -4,22 +4,23 @@
let
inherit (python3Packages)
python nose cryptography pyyaml requests mock python-dateutil setuptools;
python pytest nose cryptography pyyaml requests mock python-dateutil setuptools;
in stdenv.mkDerivation rec {
pname = "svtplay-dl";
version = "3.7";
version = "3.9.1";
src = fetchFromGitHub {
owner = "spaam";
repo = "svtplay-dl";
rev = version;
sha256 = "0krskxbmlglkipqzjwgm2nmq118m8l0djgh0f8l6n2w3bjblhyfx";
sha256 = "0b207l3dnkpixjhxzis77cfhwd5mjiwrmj8cngxpx2wl1i83xw54";
};
pythonPaths = [ cryptography pyyaml requests ];
buildInputs = [ python perl nose mock python-dateutil setuptools ] ++ pythonPaths;
buildInputs = [ python perl mock python-dateutil setuptools ] ++ pythonPaths;
nativeBuildInputs = [ gitMinimal zip makeWrapper ];
checkInputs = [ nose pytest ];
postPatch = ''
substituteInPlace scripts/run-tests.sh \