From 5d8951bdb9ba72d9729c3bc30981b6c89e0d2cb6 Mon Sep 17 00:00:00 2001 From: Jonas Nick Date: Tue, 16 Jul 2019 21:19:48 +0000 Subject: [PATCH 1/3] 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; +} From 22fcd47fe552112a06d77bd2ff8c59bfd9f2ebba Mon Sep 17 00:00:00 2001 From: William Casarin Date: Thu, 25 Jul 2019 05:39:53 -0700 Subject: [PATCH 2/3] fixup! Add pylightning package --- default.nix | 2 +- pkgs/pylightning/default.nix | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/default.nix b/default.nix index c901920..eb88bd1 100644 --- a/default.nix +++ b/default.nix @@ -12,5 +12,5 @@ electrs = (pkgs.callPackage ./pkgs/electrs { }).rootCrate.build; liquidd = pkgs.callPackage ./pkgs/liquidd { }; hwi = pkgs.callPackage ./pkgs/hwi { }; - pylightning = pkgs.callPackage ./pkgs/pylightning { }; + pylightning = pkgs.python3Packages.callPackage ./pkgs/pylightning { }; } diff --git a/pkgs/pylightning/default.nix b/pkgs/pylightning/default.nix index ff2aab0..c0ff77c 100644 --- a/pkgs/pylightning/default.nix +++ b/pkgs/pylightning/default.nix @@ -1,6 +1,4 @@ -{ lib, python35 }: - -with python35.pkgs; +{ lib, buildPythonPackage, fetchPypi }: buildPythonPackage rec { pname = "pylightning"; From 5a6242c1f3de36736e1b44f2e551ed4d2dcb2e53 Mon Sep 17 00:00:00 2001 From: Jonas Nick Date: Fri, 26 Jul 2019 14:04:48 +0000 Subject: [PATCH 3/3] fixup! Remove doCheck from pylightning package --- pkgs/pylightning/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/pylightning/default.nix b/pkgs/pylightning/default.nix index c0ff77c..852e7d8 100644 --- a/pkgs/pylightning/default.nix +++ b/pkgs/pylightning/default.nix @@ -8,6 +8,4 @@ buildPythonPackage rec { inherit pname version; sha256 = "0anbixqsfk0dsm790yy21f403lwgalxaqlm1s101ifppmxqccgpi"; }; - - doCheck = false; }