2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchPypi,
|
2022-08-12 12:06:08 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "safeio";
|
|
|
|
version = "1.2";
|
2024-01-02 11:29:13 +00:00
|
|
|
format = "setuptools";
|
2022-08-12 12:06:08 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
pname = "safeIO";
|
|
|
|
inherit version;
|
|
|
|
sha256 = "d480a6dab01a390ebc24c12d6b774ad00cef3db5348ad07d8bd11d272a808cd3";
|
|
|
|
};
|
|
|
|
|
|
|
|
pythonImportsCheck = [ "safeIO" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Safely make I/O operations to files in Python even from multiple threads";
|
|
|
|
homepage = "https://github.com/Animenosekai/safeIO";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ ];
|
|
|
|
};
|
|
|
|
}
|