nur-packages

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

package.nix (776B)


      1 {
      2   lib,
      3   fetchFromGitHub,
      4   python3Packages,
      5 }:
      6 
      7 python3Packages.buildPythonPackage (finalAttrs: {
      8   pname = "pytest-split";
      9   version = "0.11.0";
     10   pyproject = true;
     11 
     12   src = fetchFromGitHub {
     13     owner = "jerry-git";
     14     repo = "pytest-split";
     15     tag = finalAttrs.version;
     16     hash = "sha256-shj+04sqL3MmBmHw1c3kP+aX2QgzpAWJOsz9hSs9B7A=";
     17   };
     18 
     19   build-system = with python3Packages; [ poetry-core ];
     20 
     21   nativeCheckInputs = with python3Packages; [
     22     pytestCheckHook
     23     pytest-cov-stub
     24   ];
     25 
     26   meta = {
     27     description = "Pytest plugin which splits the test suite to equally sized sub suites based on test execution time";
     28     homepage = "https://github.com/jerry-git/pytest-split";
     29     license = lib.licenses.mit;
     30     maintainers = [ lib.maintainers.sikmir ];
     31   };
     32 })