2019-07-17 19:36:47 +01:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi, pytest }:
|
2018-03-31 10:31:12 +01:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "atomicwrites";
|
2019-02-14 07:37:10 +00:00
|
|
|
version = "1.3.0";
|
2018-03-31 10:31:12 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-02-14 07:37:10 +00:00
|
|
|
sha256 = "75a9445bac02d8d058d5e1fe689654ba5a6556a1dfd8ce6ec55a0ed79866cfa6";
|
2018-03-31 10:31:12 +01:00
|
|
|
};
|
|
|
|
|
2019-07-17 19:36:47 +01:00
|
|
|
# Tests depend on pytest but atomicwrites is a dependency of pytest
|
|
|
|
doCheck = false;
|
|
|
|
checkInputs = [ pytest ];
|
|
|
|
|
2018-03-31 10:31:12 +01:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Atomic file writes on POSIX";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://pypi.python.org/pypi/atomicwrites";
|
2018-03-31 10:31:12 +01:00
|
|
|
maintainers = with maintainers; [ matthiasbeyer ];
|
|
|
|
};
|
|
|
|
}
|