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