From 1d022f201725ba2e2aebe74a63e0292f315f73d1 Mon Sep 17 00:00:00 2001 From: Jonas Nick Date: Mon, 14 Oct 2019 15:05:43 +0000 Subject: [PATCH] Remove PyQt dependency from liquid-swap tool because it doesn't work with NixOs 19.09 and we don't need it anyway --- pkgs/liquid-swap/default.nix | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/pkgs/liquid-swap/default.nix b/pkgs/liquid-swap/default.nix index ce6f227..5eedc28 100644 --- a/pkgs/liquid-swap/default.nix +++ b/pkgs/liquid-swap/default.nix @@ -1,17 +1,18 @@ -{ lib, buildPythonPackage, fetchurl, pyqt5, click }: +{ lib, buildPythonPackage, fetchurl, click }: buildPythonPackage rec { pname = "liquid-swap"; - version = "0.0.1"; + version = "0.0.2"; - # We're only interested in the cli and not the gui but we need to add pyqt5 - # anyway as a build dependency because liquid-swap's setup.py demands it. See - # issue https://github.com/Blockstream/liquid-swap/issues/1. - nativeBuildInputs = [ pyqt5 ]; propagatedBuildInputs = [ click ]; src = fetchurl { urls = [ "https://github.com/Blockstream/liquid-swap/archive/release_${version}.tar.gz" ]; - sha256 = "c90ba78105469273fb799f412caa754d18bfa310984fa11ffd0091f146cca2ba"; + sha256 = "9fa920ee7d03d1af8252131cd7d5a825bb66b8ad536403b4f5437ff6c91a68b1"; }; + # Not sure if this does anything, but it should + installFlags = [ ".[CLI]" ]; + # The tests unfortunately seem to require the PyQt for the GUI + doCheck = false; } +