nur-packages

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

package.nix (917B)


      1 {
      2   lib,
      3   fetchFromGitHub,
      4   python3Packages,
      5 }:
      6 
      7 python3Packages.buildPythonPackage (finalAttrs: {
      8   pname = "jupyter-loopback";
      9   version = "0.3.3";
     10   pyproject = true;
     11 
     12   src = fetchFromGitHub {
     13     owner = "banesullivan";
     14     repo = "jupyter-loopback";
     15     tag = "v${finalAttrs.version}";
     16     hash = "sha256-92C02SNX0xs8wGuC4lwmFsS1XZkRIDIlkr8P1YZo+Kg=";
     17   };
     18 
     19   build-system = with python3Packages; [ setuptools-scm ];
     20 
     21   dependencies = with python3Packages; [
     22     jupyter-server
     23     tornado
     24   ];
     25 
     26   pythonRelaxDeps = [ "jupyter_loopback" ];
     27 
     28   nativeCheckInputs = with python3Packages; [
     29     pytestCheckHook
     30     pytest-asyncio
     31   ];
     32 
     33   meta = {
     34     description = "Make kernel-local HTTP/WS servers reachable from the notebook browser with zero user config";
     35     homepage = "https://github.com/banesullivan/jupyter-loopback";
     36     license = lib.licenses.mit;
     37     maintainers = [ lib.maintainers.sikmir ];
     38   };
     39 })