Files
nixpkgs/pkgs/development/python-modules/expandvars/default.nix
T
Wolfgang Walther 420b511f35 maintainers: drop geluk
Inactive since 2023.
2025-12-02 16:34:15 +01:00

38 lines
667 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
pythonOlder,
# build-system
hatchling,
# tests
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "expandvars";
version = "1.1.1";
format = "pyproject";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
hash = "sha256-mK3YJot2Df7kV73hwXv3RXlf3rwit92rdf0yeGU/HgU=";
};
nativeBuildInputs = [ hatchling ];
pythonImportsCheck = [ "expandvars" ];
nativeCheckInputs = [ pytestCheckHook ];
meta = with lib; {
description = "Expand system variables Unix style";
homepage = "https://github.com/sayanarijit/expandvars";
license = licenses.mit;
};
}