depot/third_party/nixpkgs/pkgs/development/python-modules/expandvars/default.nix
Default email e7ec2969af Project import generated by Copybara.
GitOrigin-RevId: 9b19f5e77dd906cb52dade0b7bd280339d2a1f3d
2024-01-13 09:15:51 +01:00

44 lines
722 B
Nix

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