nixpkgs/pkgs/development/python-modules/atomicwrites/default.nix
Martin Weinelt 0215034f25 python3.pkgs: Migrate fetchers to use hash
when they already rely on SRI hashes.
2023-03-03 23:59:29 +01:00

22 lines
557 B
Nix

{ 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 ];
};
}