nur-packages

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

default.nix (1004B)


      1 {
      2   lib,
      3   fetchFromGitHub,
      4   python3Packages,
      5   pytest-skip-markers,
      6 }:
      7 
      8 python3Packages.buildPythonPackage (finalAttrs: {
      9   pname = "pytest-shell-utilities";
     10   version = "1.9.3";
     11   pyproject = true;
     12 
     13   src = fetchFromGitHub {
     14     owner = "saltstack";
     15     repo = "pytest-shell-utilities";
     16     tag = finalAttrs.version;
     17     hash = "sha256-AzIspaE6eHaG7YcRtuXtYsjwqF2rvO2YRxdiFlWsHuw=";
     18   };
     19 
     20   SETUPTOOLS_SCM_PRETEND_VERSION = finalAttrs.version;
     21 
     22   build-system = with python3Packages; [
     23     setuptools-scm
     24     setuptools-declarative-requirements
     25   ];
     26 
     27   dependencies = with python3Packages; [
     28     psutil
     29     pytest-skip-markers
     30     pytest-subtests
     31     pytest-helpers-namespace
     32   ];
     33 
     34   nativeCheckInputs = with python3Packages; [ pytestCheckHook ];
     35 
     36   __darwinAllowLocalNetworking = true;
     37 
     38   meta = {
     39     description = "Pytest Shell Utilities";
     40     homepage = "https://github.com/saltstack/pytest-shell-utilities";
     41     license = lib.licenses.asl20;
     42     maintainers = [ lib.maintainers.sikmir ];
     43   };
     44 })