Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.0 kB · 52 lines
Nix
at litex
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253{ lib, buildPythonPackage, fetchFromGitHub, freezegun, mock, nose2, pytz, setuptools, six}:
buildPythonPackage rec { pname = "duo-client"; version = "4.7.1";
src = fetchFromGitHub { owner = "duosecurity"; repo = "duo_client_python"; rev = "refs/tags/${version}"; hash = "sha256-nnKujvhOtuNnlFrbmYtD7L++S7DK0Qqrc0LyAVYe7Xg="; };
postPatch = '' substituteInPlace requirements-dev.txt \ --replace "dlint" "" \ --replace "flake8" "" '';
propagatedBuildInputs = [ setuptools six ];
nativeCheckInputs = [ freezegun mock nose2 pytz ];
pythonImportsCheck = [ "duo_client" ];
meta = with lib; { description = "Python library for interacting with the Duo Auth, Admin, and Accounts APIs"; homepage = "https://github.com/duosecurity/duo_client_python"; changelog = "https://github.com/duosecurity/duo_client_python/releases/tag/${version}"; license = licenses.bsd3; maintainers = with maintainers; [ SuperSandro2000 ]; };}