summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/atomicwrites/default.nix
blob: 26187a0078b441b9aad0764705395acd11feb8b7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{ lib, buildPythonPackage, fetchPypi, pytest }:

buildPythonPackage rec {
  pname = "atomicwrites";
  version = "1.4.1";

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-gbLJBxpJNnp/dwFw5e7Iy2ZWfPu8jHPSDOXKSo1xzxE=";
  };

  # Tests depend on pytest but atomicwrites is a dependency of pytest
  doCheck = false;
  nativeCheckInputs = [ pytest ];

  meta = with lib; {
    description = "Atomic file writes on POSIX";
    homepage = "https://pypi.python.org/pypi/atomicwrites";
    maintainers = with maintainers; [ matthiasbeyer ];
  };
}