{ buildPythonPackage , fetchPypi , lib , sphinx , flake8 , pytest , pytestcov , pytest-flakes , pytestpep8 }: buildPythonPackage rec { version = "1.4.0"; pname = "portalocker"; src = fetchPypi { inherit pname version; sha256 = "0gwjnalfwl1mb9a04m9h3hrds75xmc9na666aiz2cgz0m545dcrz"; }; checkInputs = [ sphinx flake8 pytest pytestcov pytest-flakes pytestpep8 ]; meta = with lib; { description = "A library to provide an easy API to file locking"; homepage = https://github.com/WoLpH/portalocker; license = licenses.psfl; maintainers = with maintainers; [ jonringer ]; platforms = platforms.unix; # Windows has a dependency on pypiwin32 }; }