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