mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-06-30 14:05:14 +00:00
36 lines
669 B
Nix
36 lines
669 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
pytestCheckHook,
|
|
setuptools,
|
|
}:
|
|
|
|
let
|
|
pname = "atomicwrites-homeassistant";
|
|
version = "1.4.1";
|
|
in
|
|
|
|
buildPythonPackage {
|
|
inherit pname version;
|
|
pyproject = true;
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-JWpnIQbxZ0VEUijZZiQLd7VfRqCW0gMFkBpXql0fTC8=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
pythonImportsCheck = [ "atomicwrites" ];
|
|
|
|
nativeCheckInputs = [ pytestCheckHook ];
|
|
|
|
meta = {
|
|
description = "Atomic file writes";
|
|
homepage = "https://pypi.org/project/atomicwrites-homeassistant/";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ hexa ];
|
|
};
|
|
}
|