Files
nixpkgs/pkgs/development/python-modules/expandvars/default.nix
T
Martin Weinelt 985830cfa7 python3Packages.expandvars: 1.1.1 -> 1.1.2
This commit was automatically generated using update-python-libraries.
2026-02-01 16:43:44 +01:00

48 lines
929 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
fetchpatch,
# build-system
hatchling,
# tests
pytestCheckHook,
pytest-cov-stub,
}:
buildPythonPackage rec {
pname = "expandvars";
version = "1.1.2";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-bFgit7dWqZo1a5Fd0SZ/UquKTvqhNZY71/S9XTaPcdc=";
};
patches = [
(fetchpatch {
name = "pytest9-compat.patch";
url = "https://github.com/sayanarijit/expandvars/commit/0ab5747185be9135b0711e72fc64dfa6a33f3fd3.patch";
hash = "sha256-raO5dGbcXb0adUCeHmnWp49vpIMllRW9Ow8rG4OH+Hs=";
})
];
nativeBuildInputs = [ hatchling ];
pythonImportsCheck = [ "expandvars" ];
nativeCheckInputs = [
pytestCheckHook
pytest-cov-stub
];
meta = {
description = "Expand system variables Unix style";
homepage = "https://github.com/sayanarijit/expandvars";
license = lib.licenses.mit;
};
}