Merge pull request #288384 from SuperSandro2000/envs-3.12

python3Packages.pynose: init at 1.4.8;  python312Packages.envs: fix build by switching to pynose
This commit is contained in:
Martin Weinelt 2024-02-17 04:05:19 +01:00 committed by GitHub
commit b559e061ee
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 35 additions and 3 deletions

View File

@ -4,7 +4,7 @@
, fetchPypi
, jinja2
, mock
, nose
, pynose
, poetry-core
, pythonOlder
, terminaltables
@ -13,7 +13,7 @@
buildPythonPackage rec {
pname = "envs";
version = "1.4";
format = "pyproject";
pyproject = true;
disabled = pythonOlder "3.7";
@ -34,7 +34,7 @@ buildPythonPackage rec {
nativeCheckInputs = [
mock
nose
pynose
];
checkPhase = ''

View File

@ -0,0 +1,30 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, setuptools
}:
buildPythonPackage rec {
pname = "pynose";
version = "1.4.8";
pyproject = true;
src = fetchFromGitHub {
owner = "mdmintz";
repo = "pynose";
rev = "v${version}";
hash = "sha256-V6jZBEkEAKzClA/3s+Lyfm9xExgCEJbLCNnIHmZ94E4=";
};
nativeBuildInputs = [ setuptools ];
# has no tests
doCheck = false;
meta = with lib; {
description = "pynose fixes nose to extend unittest and make testing easier";
homepage = "https://github.com/mdmintz/pynose";
license = licenses.mit;
maintainers = with maintainers; [ SuperSandro2000 ];
};
}

View File

@ -9560,6 +9560,8 @@ self: super: with self; {
pynobo = callPackage ../development/python-modules/pynobo { };
pynose = callPackage ../development/python-modules/pynose { };
pynuki = callPackage ../development/python-modules/pynuki { };
pynut2 = callPackage ../development/python-modules/pynut2 { };