nur-packages

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

default.nix (805B)


      1 {
      2   lib,
      3   python3Packages,
      4 }:
      5 
      6 python3Packages.buildPythonPackage (finalAttrs: {
      7   pname = "pyramid-retry";
      8   version = "2.1.1";
      9   pyproject = true;
     10 
     11   src = python3Packages.fetchPypi {
     12     pname = "pyramid_retry";
     13     inherit (finalAttrs) version;
     14     hash = "sha256-uqgnauaLq60J5fL5TvxPdCHzuPtSYVHfUiBS+M0+wMk=";
     15   };
     16 
     17   build-system = with python3Packages; [ setuptools ];
     18 
     19   dependencies = with python3Packages; [
     20     pyramid
     21   ];
     22 
     23   nativeCheckInputs = with python3Packages; [
     24     pytestCheckHook
     25     webtest
     26   ];
     27 
     28   pythonImportsCheck = [ "pyramid_retry" ];
     29 
     30   meta = {
     31     description = "An execution policy for pyramid that handles retryable errors";
     32     homepage = "https://github.com/Pylons/pyramid_retry";
     33     license = lib.licenses.bsd0;
     34     maintainers = [ lib.maintainers.sikmir ];
     35   };
     36 })