1{ lib, buildPythonPackage, fetchPypi, pytest }: 2 3buildPythonPackage rec { 4 pname = "atomicwrites"; 5 version = "1.4.0"; 6 7 src = fetchPypi { 8 inherit pname version; 9 sha256 = "ae70396ad1a434f9c7046fd2dd196fc04b12f9e91ffb859164193be8b6168a7a"; 10 }; 11 12 # Tests depend on pytest but atomicwrites is a dependency of pytest 13 doCheck = false; 14 checkInputs = [ 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}