nixpkgs/pkgs/development/python-modules/safeio/default.nix
adisbladis 02dab4ab5c python3.pkgs.*: Explicitly pass buildPythonPackage format parameter
Long term we should move everything over to `pyproject = true`, but in
the mean time we can work towards deprecating the implicit `format` paremeter.

cc https://github.com/NixOS/nixpkgs/issues/253154
cc @mweinelt @figsoda
2023-12-07 17:46:49 +01:00

26 lines
569 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; [ ];
};
}