python311Packages.volatile: init at 2.1.0

This commit is contained in:
Fabian Affolter 2023-06-25 22:11:21 +02:00
parent fe0f512806
commit 2b28bfdfaa
2 changed files with 38 additions and 0 deletions

View File

@ -0,0 +1,36 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "volatile";
version = "2.1.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "mbr";
repo = "volatile";
rev = "refs/tags/${version}";
hash = "sha256-TYUvr0bscM/FaPk9oiF4Ob7HdKa2HlbpEFmaPfh4ir0=";
};
nativeCheckInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"volatile"
];
meta = with lib; {
description = "A small extension for the tempfile module";
homepage = "https://github.com/mbr/volatile";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}

View File

@ -12966,6 +12966,8 @@ self: super: with self; {
vobject = callPackage ../development/python-modules/vobject { };
volatile = callPackage ../development/python-modules/volatile { };
volkszaehler = callPackage ../development/python-modules/volkszaehler { };
voluptuous = callPackage ../development/python-modules/voluptuous { };