Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 85b91c7bb6df
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 487bb6c32c92
Choose a head ref
  • 2 commits
  • 3 files changed
  • 1 contributor

Commits on Mar 24, 2020

  1. pythonPackages.pytest-metadata: init at 1.8.0

    mpoquet authored and Jon committed Mar 24, 2020

    Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    grahamc Graham Christensen
    Copy the full SHA
    ebed789 View commit details
  2. python3Packages.pytest-html: init at 2.1.0

    mpoquet authored and Jon committed Mar 24, 2020
    Copy the full SHA
    487bb6c View commit details
23 changes: 23 additions & 0 deletions pkgs/development/python-modules/pytest-html/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{ stdenv, buildPythonPackage, fetchPypi, pythonOlder
, pytest, pytest-metadata, setuptools_scm }:

buildPythonPackage rec {
pname = "pytest-html";
version = "2.1.0";
disabled = pythonOlder "3.6";

src = fetchPypi {
inherit pname version;
sha256 = "14cy5iixi6i8i5r5xvvkhwk48zgxnb1ypbp0g1343mwfdihshic6";
};

nativeBuildInputs = [ setuptools_scm ];
propagatedBuildInputs = [ pytest pytest-metadata ];

meta = with stdenv.lib; {
description = "Plugin for generating HTML reports";
homepage = "https://github.com/pytest-dev/pytest-html";
license = licenses.mpl20;
maintainers = with maintainers; [ mpoquet ];
};
}
22 changes: 22 additions & 0 deletions pkgs/development/python-modules/pytest-metadata/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{ stdenv, buildPythonPackage, fetchPypi
, pytest, setuptools_scm }:

buildPythonPackage rec {
pname = "pytest-metadata";
version = "1.8.0";

src = fetchPypi {
inherit pname version;
sha256 = "1fk6icip2x1nh4kzhbc8cnqrs77avpqvj7ny3xadfh6yhn9aaw90";
};

nativeBuildInputs = [ setuptools_scm ];
propagatedBuildInputs = [ pytest ];

meta = with stdenv.lib; {
description = "Plugin for accessing test session metadata";
homepage = "https://github.com/pytest-dev/pytest-metadata";
license = licenses.mpl20;
maintainers = with maintainers; [ mpoquet ];
};
}
4 changes: 4 additions & 0 deletions pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
@@ -2399,6 +2399,10 @@ in {

pytest-forked = callPackage ../development/python-modules/pytest-forked { };

pytest-html = callPackage ../development/python-modules/pytest-html { };

pytest-metadata = callPackage ../development/python-modules/pytest-metadata { };

pytest-rerunfailures = callPackage ../development/python-modules/pytest-rerunfailures { };

pytest-relaxed = callPackage ../development/python-modules/pytest-relaxed { };