2019-05-28 18:14:54 +00:00
|
|
|
{ buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, lib
|
|
|
|
, sphinx
|
|
|
|
, flake8
|
|
|
|
, pytest
|
|
|
|
, pytestcov
|
|
|
|
, pytest-flakes
|
|
|
|
, pytestpep8
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2019-09-28 17:16:17 +00:00
|
|
|
version = "1.5.1";
|
2019-05-28 18:14:54 +00:00
|
|
|
pname = "portalocker";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-09-28 17:16:17 +00:00
|
|
|
sha256 = "08d8vm373fbx90wrql2i7025d4ir54sq8ahx6g1pw9h793zqrn0y";
|
2019-05-28 18:14:54 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
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
|
|
|
|
};
|
|
|
|
}
|