Unverified Commit b559e061 authored by Martin Weinelt's avatar Martin Weinelt Committed by GitHub
Browse files

Merge pull request #288384 from SuperSandro2000/envs-3.12

 python3Packages.pynose: init at 1.4.8;  python312Packages.envs: fix build by switching to pynose 
parents 17dc109c 3ab52897
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -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 = ''
+30 −0
Original line number Diff line number Diff line
{ 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 ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -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 { };