depot/third_party/nixpkgs/pkgs/development/python-modules/portalocker/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

38 lines
727 B
Nix

{ buildPythonPackage
, fetchPypi
, lib
, fetchpatch
, sphinx
, flake8
, pytest
, pytestcov
, pytest-flakes
, pytestpep8
}:
buildPythonPackage rec {
version = "1.5.2";
pname = "portalocker";
src = fetchPypi {
inherit pname version;
sha256 = "17rfgmgwyxyng8q7bvn369cncadqws2wgkg45q6v8337wm9jxins";
};
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
};
}