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

27 lines
591 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
pytest,
}:
buildPythonPackage rec {
pname = "atomicwrites";
version = "1.4.1";
format = "setuptools";
src = fetchPypi {
inherit pname version;
hash = "sha256-gbLJBxpJNnp/dwFw5e7Iy2ZWfPu8jHPSDOXKSo1xzxE=";
};
# Tests depend on pytest but atomicwrites is a dependency of pytest
doCheck = false;
nativeCheckInputs = [ pytest ];
meta = with lib; {
description = "Atomic file writes on POSIX";
homepage = "https://pypi.python.org/pypi/atomicwrites";
maintainers = with maintainers; [ matthiasbeyer ];
};
}