nur-packages

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

default.nix (836B)


      1 {
      2   lib,
      3   python3Packages,
      4 }:
      5 
      6 python3Packages.buildPythonPackage (finalAttrs: {
      7   pname = "pyramid-tm";
      8   version = "2.6";
      9   pyproject = true;
     10 
     11   src = python3Packages.fetchPypi {
     12     pname = "pyramid_tm";
     13     inherit (finalAttrs) version;
     14     hash = "sha256-gUjSGRKFKAyaDCPm3xAYs1FLTO8CEVuHLdA1Ck14cJw=";
     15   };
     16 
     17   build-system = with python3Packages; [ setuptools ];
     18 
     19   dependencies = with python3Packages; [
     20     pyramid
     21     transaction
     22   ];
     23 
     24   nativeCheckInputs = with python3Packages; [
     25     pytestCheckHook
     26     pytest-cov-stub
     27     webtest
     28   ];
     29 
     30   pythonImportsCheck = [ "pyramid_tm" ];
     31 
     32   meta = {
     33     description = "A package which allows Pyramid requests to join the active transaction";
     34     homepage = "https://github.com/Pylons/pyramid_tm";
     35     license = lib.licenses.bsd3;
     36     maintainers = [ lib.maintainers.sikmir ];
     37   };
     38 })