Loading pkgs/development/python-modules/notifications-python-client/default.nix +11 −6 Original line number Diff line number Diff line Loading @@ -10,6 +10,7 @@ , pythonOlder , requests , requests-mock , setuptools }: buildPythonPackage rec { Loading @@ -21,11 +22,20 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "alphagov"; repo = pname; repo = "notifications-python-client"; rev = "refs/tags/${version}"; hash = "sha256-HDxCVwagHFenx0S2TPxiMIyyq4ovxe0yNi76sX2CC9s="; }; postPatch = '' substituteInPlace setup.py \ --replace "pytest-runner" "" ''; nativeBuildInputs = [ setuptools ]; propagatedBuildInputs = [ docopt pyjwt Loading @@ -40,11 +50,6 @@ buildPythonPackage rec { requests-mock ]; postPatch = '' substituteInPlace setup.py \ --replace "pytest-runner" "" ''; pythonImportsCheck = [ "notifications_python_client" ]; Loading Loading
pkgs/development/python-modules/notifications-python-client/default.nix +11 −6 Original line number Diff line number Diff line Loading @@ -10,6 +10,7 @@ , pythonOlder , requests , requests-mock , setuptools }: buildPythonPackage rec { Loading @@ -21,11 +22,20 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "alphagov"; repo = pname; repo = "notifications-python-client"; rev = "refs/tags/${version}"; hash = "sha256-HDxCVwagHFenx0S2TPxiMIyyq4ovxe0yNi76sX2CC9s="; }; postPatch = '' substituteInPlace setup.py \ --replace "pytest-runner" "" ''; nativeBuildInputs = [ setuptools ]; propagatedBuildInputs = [ docopt pyjwt Loading @@ -40,11 +50,6 @@ buildPythonPackage rec { requests-mock ]; postPatch = '' substituteInPlace setup.py \ --replace "pytest-runner" "" ''; pythonImportsCheck = [ "notifications_python_client" ]; Loading