python312Packages.ircstates: 0.12.1 -> 0.13.0
https://github.com/jesopo/ircstates/compare/v0.12.1...v0.13.0
This commit is contained in:
@@ -2,36 +2,36 @@
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
pythonOlder,
|
||||
setuptools,
|
||||
irctokens,
|
||||
pendulum,
|
||||
freezegun,
|
||||
python,
|
||||
unittestCheckHook,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "ircstates";
|
||||
version = "0.12.1";
|
||||
format = "setuptools";
|
||||
disabled = pythonOlder "3.6"; # f-strings
|
||||
version = "0.13.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "jesopo";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
hash = "sha256-F9yOY3YBacyoUzNTvPs7pxp6yNx08tiq1jWQKhGiagc=";
|
||||
hash = "sha256-Mq9aOj6PXzPjaz3ofoPcAbur59oUWffmEg8aHt0v+0Q=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [
|
||||
irctokens
|
||||
pendulum
|
||||
];
|
||||
|
||||
nativeCheckInputs = [ freezegun ];
|
||||
|
||||
checkPhase = ''
|
||||
${python.interpreter} -m unittest test
|
||||
'';
|
||||
nativeCheckInputs = [
|
||||
freezegun
|
||||
unittestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "ircstates" ];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user