nur-packages

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

default.nix (803B)


      1 {
      2   lib,
      3   fetchFromGitHub,
      4   python3Packages,
      5 }:
      6 
      7 python3Packages.buildPythonPackage rec {
      8   pname = "starlette-cramjam";
      9   version = "0.4.0";
     10   pyproject = true;
     11 
     12   src = fetchFromGitHub {
     13     owner = "developmentseed";
     14     repo = "starlette-cramjam";
     15     rev = version;
     16     hash = "sha256-NgEW86+HV1zy9B5tRMF6Jw25Icrl6+CU9eZYInwv5To=";
     17   };
     18 
     19   build-system = with python3Packages; [ flit ];
     20 
     21   dependencies = with python3Packages; [
     22     httpx
     23     starlette
     24     cramjam
     25     typing-extensions
     26   ];
     27 
     28   nativeCheckInputs = with python3Packages; [ pytestCheckHook ];
     29 
     30   meta = {
     31     description = "Cramjam integration for Starlette ASGI framework";
     32     homepage = "https://github.com/developmentseed/starlette-cramjam";
     33     license = lib.licenses.mit;
     34     maintainers = [ lib.maintainers.sikmir ];
     35   };
     36 }