Files
nixpkgs/pkgs/development/python-modules/atomicwrites/default.nix
T
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

28 lines
585 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
pytest,
}:
buildPythonPackage rec {
pname = "atomicwrites";
version = "1.4.1";
format = "setuptools";
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 = {
description = "Atomic file writes on POSIX";
homepage = "https://pypi.python.org/pypi/atomicwrites";
maintainers = with lib.maintainers; [ matthiasbeyer ];
};
}