mirror of
https://github.com/CHN-beta/nixpkgs.git
synced 2026-01-17 05:20:21 +08:00
checkInputs used to be added to nativeBuildInputs. Now we have nativeCheckInputs to do that instead. Doing this treewide change allows to keep hashes identical to before the introduction of nativeCheckInputs.
22 lines
559 B
Nix
22 lines
559 B
Nix
{ lib, buildPythonPackage, fetchPypi, pytest }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "atomicwrites";
|
|
version = "1.4.1";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "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 ];
|
|
};
|
|
}
|