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