Loading pkgs/development/python-modules/mygpoclient/default.nix +11 −12 Original line number Diff line number Diff line { lib, fetchFromGitHub, stdenv, buildPythonPackage, fetchFromGitHub, setuptools, minimock, pytestCheckHook, Loading @@ -9,22 +10,16 @@ buildPythonPackage rec { pname = "mygpoclient"; version = "1.9"; version = "1.10"; pyproject = true; src = fetchFromGitHub { owner = "gpodder"; repo = "mygpoclient"; rev = version; hash = "sha256-McHllitWiBiCdNuJlUg6K/vgr2l3ychu+KOx3r/UCv0="; tag = version; hash = "sha256-g4iPw6i8Gy3kvIjHCyGLJNHNb+osaCmc46hIryrodi8="; }; postPatch = '' substituteInPlace mygpoclient/*_test.py \ --replace-quiet "assertEquals" "assertEqual" \ --replace-quiet "assert_" "assertTrue" ''; build-system = [ setuptools ]; pythonImportsCheck = [ "mygpoclient" ]; Loading @@ -34,16 +29,20 @@ buildPythonPackage rec { pytestCheckHook ]; disabledTestPaths = lib.optionals (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64) [ "mygpoclient/http_test.py" ]; __darwinAllowLocalNetworking = true; meta = with lib; { meta = { description = "Gpodder.net client library"; longDescription = '' The mygpoclient library allows developers to utilize a Pythonic interface to the gpodder.net web services. ''; homepage = "https://github.com/gpodder/mygpoclient"; license = with licenses; [ gpl3 ]; license = lib.licenses.gpl3Plus; maintainers = [ ]; }; } Loading
pkgs/development/python-modules/mygpoclient/default.nix +11 −12 Original line number Diff line number Diff line { lib, fetchFromGitHub, stdenv, buildPythonPackage, fetchFromGitHub, setuptools, minimock, pytestCheckHook, Loading @@ -9,22 +10,16 @@ buildPythonPackage rec { pname = "mygpoclient"; version = "1.9"; version = "1.10"; pyproject = true; src = fetchFromGitHub { owner = "gpodder"; repo = "mygpoclient"; rev = version; hash = "sha256-McHllitWiBiCdNuJlUg6K/vgr2l3ychu+KOx3r/UCv0="; tag = version; hash = "sha256-g4iPw6i8Gy3kvIjHCyGLJNHNb+osaCmc46hIryrodi8="; }; postPatch = '' substituteInPlace mygpoclient/*_test.py \ --replace-quiet "assertEquals" "assertEqual" \ --replace-quiet "assert_" "assertTrue" ''; build-system = [ setuptools ]; pythonImportsCheck = [ "mygpoclient" ]; Loading @@ -34,16 +29,20 @@ buildPythonPackage rec { pytestCheckHook ]; disabledTestPaths = lib.optionals (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64) [ "mygpoclient/http_test.py" ]; __darwinAllowLocalNetworking = true; meta = with lib; { meta = { description = "Gpodder.net client library"; longDescription = '' The mygpoclient library allows developers to utilize a Pythonic interface to the gpodder.net web services. ''; homepage = "https://github.com/gpodder/mygpoclient"; license = with licenses; [ gpl3 ]; license = lib.licenses.gpl3Plus; maintainers = [ ]; }; }