1{ lib
2, buildPythonPackage
3, fetchPypi
4}:
5
6buildPythonPackage rec {
7 pname = "safeio";
8 version = "1.2";
9
10 src = fetchPypi {
11 pname = "safeIO";
12 inherit version;
13 sha256 = "d480a6dab01a390ebc24c12d6b774ad00cef3db5348ad07d8bd11d272a808cd3";
14 };
15
16 pythonImportsCheck = [ "safeIO" ];
17
18 meta = with lib; {
19 description = "Safely make I/O operations to files in Python even from multiple threads";
20 homepage = "https://github.com/Animenosekai/safeIO";
21 license = licenses.mit;
22 maintainers = with maintainers; [ ];
23 };
24}