nur-packages

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

default.nix (886B)


      1 {
      2   lib,
      3   fetchFromGitHub,
      4   python3Packages,
      5 }:
      6 
      7 python3Packages.buildPythonPackage rec {
      8   pname = "pytest-skip-markers";
      9   version = "1.5.1";
     10   pyproject = true;
     11   disabled = python3Packages.pythonOlder "3.7";
     12 
     13   src = fetchFromGitHub {
     14     owner = "saltstack";
     15     repo = "pytest-skip-markers";
     16     rev = version;
     17     hash = "sha256-jrNPF68sKpEmwU12ZbKK/24DqA1RrjIXYPyoKE/3FLM=";
     18   };
     19 
     20   SETUPTOOLS_SCM_PRETEND_VERSION = version;
     21 
     22   build-system = with python3Packages; [
     23     setuptools-scm
     24     setuptools-declarative-requirements
     25   ];
     26 
     27   dependencies = with python3Packages; [
     28     attrs
     29     distro
     30     pytest
     31   ];
     32 
     33   doCheck = false;
     34 
     35   meta = {
     36     description = "A Pytest plugin which implements a few useful skip markers";
     37     homepage = "https://github.com/saltstack/pytest-skip-markers";
     38     license = lib.licenses.asl20;
     39     maintainers = [ lib.maintainers.sikmir ];
     40   };
     41 }