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