depot/third_party/nixpkgs/pkgs/development/python-modules/safeio/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

26 lines
574 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
}:
buildPythonPackage rec {
pname = "safeio";
version = "1.2";
format = "setuptools";
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; [ ];
};
}