Remove PyQt dependency from liquid-swap tool because it doesn't work with NixOs 19.09 and we don't need it anyway
This commit is contained in:
parent
febb16f730
commit
1d022f2017
@ -1,17 +1,18 @@
|
|||||||
{ lib, buildPythonPackage, fetchurl, pyqt5, click }:
|
{ lib, buildPythonPackage, fetchurl, click }:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "liquid-swap";
|
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 ];
|
propagatedBuildInputs = [ click ];
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
urls = [ "https://github.com/Blockstream/liquid-swap/archive/release_${version}.tar.gz" ];
|
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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user