nur-packages

My NUR packages
git clone git://git.sikmir.ru/nur-packages
Log | Files | Refs | README | LICENSE

commit 7dd971dd79cf095ad6e8ae41d0b03738783796d4
parent 656a9330c9437f02c8244b1c5a901600af28eb53
Author: Nikolay Korotkiy <sikmir@disroot.org>
Date:   Thu, 30 Nov 2023 21:44:26 +0400

Add pytest-skip-markers

Diffstat:
Mpkgs/default.nix | 1+
Apkgs/development/python-modules/pytest-skip-markers/default.nix | 30++++++++++++++++++++++++++++++
2 files changed, 31 insertions(+), 0 deletions(-)

diff --git a/pkgs/default.nix b/pkgs/default.nix @@ -112,6 +112,7 @@ lib.makeScope newScope ( portolan = callPackage ./development/python-modules/portolan { }; pymbtiles = callPackage ./development/python-modules/pymbtiles { }; pytest-mp = callPackage ./development/python-modules/pytest-mp { }; + pytest-skip-markers = callPackage ./development/python-modules/pytest-skip-markers { }; s2sphere = callPackage ./development/python-modules/s2sphere { }; ### EMBEDDED diff --git a/pkgs/development/python-modules/pytest-skip-markers/default.nix b/pkgs/development/python-modules/pytest-skip-markers/default.nix @@ -0,0 +1,30 @@ +{ lib, fetchFromGitHub, python3Packages }: + +python3Packages.buildPythonPackage rec { + pname = "pytest-skip-markers"; + version = "1.5.0"; + pyproject = true; + disabled = python3Packages.pythonOlder "3.7"; + + src = fetchFromGitHub { + owner = "saltstack"; + repo = "pytest-skip-markers"; + rev = version; + hash = "sha256-P9O1kD7fnZmtdzQObHlHzrBmBFwq/RPzRFhvGScxFNE="; + }; + + SETUPTOOLS_SCM_PRETEND_VERSION = version; + + nativeBuildInputs = with python3Packages; [ setuptools-scm setuptools-declarative-requirements ]; + + propagatedBuildInputs = with python3Packages; [ distro ]; + + doCheck = false; + + meta = with lib; { + description = "A Pytest plugin which implements a few useful skip markers"; + inherit (src.meta) homepage; + license = licenses.asl20; + maintainers = [ maintainers.sikmir ]; + }; +}