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