1{ lib, buildPythonPackage, fetchPypi, pytest }: 2 3buildPythonPackage rec { 4 pname = "atomicwrites"; 5 version = "1.4.1"; 6 7 src = fetchPypi { 8 inherit pname version; 9 hash = "sha256-gbLJBxpJNnp/dwFw5e7Iy2ZWfPu8jHPSDOXKSo1xzxE="; 10 }; 11 12 # Tests depend on pytest but atomicwrites is a dependency of pytest 13 doCheck = false; 14 nativeCheckInputs = [ pytest ]; 15 16 meta = with lib; { 17 description = "Atomic file writes on POSIX"; 18 homepage = "https://pypi.python.org/pypi/atomicwrites"; 19 maintainers = with maintainers; [ matthiasbeyer ]; 20 }; 21}