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