2019-05-28 20:14:54 +02:00
|
|
|
{ buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, lib
|
2019-10-29 03:27:41 +01:00
|
|
|
, fetchpatch
|
2019-05-28 20:14:54 +02:00
|
|
|
, sphinx
|
|
|
|
, flake8
|
|
|
|
, pytest
|
|
|
|
, pytestcov
|
|
|
|
, pytest-flakes
|
|
|
|
, pytestpep8
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2019-11-22 02:47:56 +01:00
|
|
|
version = "1.5.2";
|
2019-05-28 20:14:54 +02:00
|
|
|
pname = "portalocker";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-11-22 02:47:56 +01:00
|
|
|
sha256 = "17rfgmgwyxyng8q7bvn369cncadqws2wgkg45q6v8337wm9jxins";
|
2019-05-28 20:14:54 +02: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
|
|
|
|
};
|
|
|
|
}
|