nur-packages

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

default.nix (697B)


      1 { lib, stdenv, fetchFromGitHub, python3Packages }:
      2 
      3 python3Packages.buildPythonPackage rec {
      4   pname = "starlette-cramjam";
      5   version = "0.1.0";
      6 
      7   src = fetchFromGitHub {
      8     owner = "developmentseed";
      9     repo = "starlette-cramjam";
     10     rev = version;
     11     hash = "sha256-aCZnXsCkzq278aAj4QNz2gSIVWGn1IsL2QG9TAaNWg0=";
     12   };
     13 
     14   propagatedBuildInputs = with python3Packages; [
     15     starlette
     16     cramjam
     17     typing-extensions
     18   ];
     19 
     20   nativeCheckInputs = with python3Packages; [ pytestCheckHook ];
     21 
     22   meta = with lib; {
     23     description = "Cramjam integration for Starlette ASGI framework";
     24     inherit (src.meta) homepage;
     25     license = licenses.mit;
     26     maintainers = [ maintainers.sikmir ];
     27   };
     28 }