nur-packages

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

default.nix (922B)


      1 { lib, fetchFromGitHub, python3Packages, pytest-skip-markers }:
      2 
      3 python3Packages.buildPythonPackage rec {
      4   pname = "pytest-shell-utilities";
      5   version = "1.8.0";
      6   pyproject = true;
      7   disabled = python3Packages.pythonOlder "3.7";
      8 
      9   src = fetchFromGitHub {
     10     owner = "saltstack";
     11     repo = "pytest-shell-utilities";
     12     rev = version;
     13     hash = "sha256-NyBHBDtuxfTN4/Tg3q0xGEVFJZmZRiaNfWqlyolYYL8=";
     14   };
     15 
     16   SETUPTOOLS_SCM_PRETEND_VERSION = version;
     17 
     18   nativeBuildInputs = with python3Packages; [ setuptools-scm setuptools-declarative-requirements ];
     19 
     20   propagatedBuildInputs = with python3Packages; [ psutil pytest-skip-markers pytest-subtests pytest-helpers-namespace ];
     21 
     22   nativeCheckInputs = with python3Packages; [ pytestCheckHook ];
     23 
     24   meta = with lib; {
     25     description = "Pytest Shell Utilities";
     26     inherit (src.meta) homepage;
     27     license = licenses.asl20;
     28     maintainers = [ maintainers.sikmir ];
     29   };
     30 }