mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-21 13:13:33 +00:00
9caee45a59
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/python3.7-portalocker/versions
38 lines
712 B
Nix
38 lines
712 B
Nix
{ buildPythonPackage
|
|
, fetchPypi
|
|
, lib
|
|
, sphinx
|
|
, flake8
|
|
, pytest
|
|
, pytestcov
|
|
, pytest-flakes
|
|
, pytestpep8
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
version = "1.5.1";
|
|
pname = "portalocker";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "08d8vm373fbx90wrql2i7025d4ir54sq8ahx6g1pw9h793zqrn0y";
|
|
};
|
|
|
|
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
|
|
};
|
|
}
|