From 5d8951bdb9ba72d9729c3bc30981b6c89e0d2cb6 Mon Sep 17 00:00:00 2001 From: Jonas Nick Date: Tue, 16 Jul 2019 21:19:48 +0000 Subject: [PATCH] Add pylightning package --- default.nix | 1 + pkgs/pylightning/default.nix | 15 +++++++++++++++ 2 files changed, 16 insertions(+) create mode 100644 pkgs/pylightning/default.nix diff --git a/default.nix b/default.nix index 8d02d10..c901920 100644 --- a/default.nix +++ b/default.nix @@ -12,4 +12,5 @@ electrs = (pkgs.callPackage ./pkgs/electrs { }).rootCrate.build; liquidd = pkgs.callPackage ./pkgs/liquidd { }; hwi = pkgs.callPackage ./pkgs/hwi { }; + pylightning = pkgs.callPackage ./pkgs/pylightning { }; } diff --git a/pkgs/pylightning/default.nix b/pkgs/pylightning/default.nix new file mode 100644 index 0000000..ff2aab0 --- /dev/null +++ b/pkgs/pylightning/default.nix @@ -0,0 +1,15 @@ +{ lib, python35 }: + +with python35.pkgs; + +buildPythonPackage rec { + pname = "pylightning"; + version = "0.0.7"; + + src = fetchPypi { + inherit pname version; + sha256 = "0anbixqsfk0dsm790yy21f403lwgalxaqlm1s101ifppmxqccgpi"; + }; + + doCheck = false; +}