pythonPackages.expandvars: init at 0.11.0

This commit is contained in:
Johan Geluk 2023-08-05 15:52:43 +02:00
parent ea42333fce
commit eee8771175
2 changed files with 41 additions and 0 deletions

View file

@ -0,0 +1,39 @@
{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
, setuptools
, wheel
}:
buildPythonPackage rec {
pname = "expandvars";
version = "0.11.0";
format = "pyproject";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
hash = "sha256-Q7Qn9dMnqzYAY98mFR+Y0qbwj+GPKJWjKn9fDxF7W1I=";
};
nativeBuildInputs = [
setuptools
wheel
];
# The PyPi package does not supply any tests
doCheck = false;
pythonImportsCheck = [
"expandvars"
];
meta = with lib; {
description = "Expand system variables Unix style";
homepage = "https://github.com/sayanarijit/expandvars";
license = licenses.mit;
maintainers = with maintainers; [ geluk ];
};
}

View file

@ -3532,6 +3532,8 @@ self: super: with self; {
exifread = callPackage ../development/python-modules/exifread { };
expandvars = callPackage ../development/python-modules/expandvars { };
expects = callPackage ../development/python-modules/expects { };
expecttest = callPackage ../development/python-modules/expecttest { };