2019-10-14 08:05:43 -07:00
|
|
|
{ lib, buildPythonPackage, fetchurl, click }:
|
2019-08-03 07:24:31 -07:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "liquid-swap";
|
2019-10-14 08:05:43 -07:00
|
|
|
version = "0.0.2";
|
2019-08-03 07:24:31 -07:00
|
|
|
|
|
|
|
propagatedBuildInputs = [ click ];
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
urls = [ "https://github.com/Blockstream/liquid-swap/archive/release_${version}.tar.gz" ];
|
2019-10-14 08:05:43 -07:00
|
|
|
sha256 = "9fa920ee7d03d1af8252131cd7d5a825bb66b8ad536403b4f5437ff6c91a68b1";
|
2019-08-03 07:24:31 -07:00
|
|
|
};
|
2019-10-14 08:05:43 -07:00
|
|
|
# Not sure if this does anything, but it should
|
|
|
|
installFlags = [ ".[CLI]" ];
|
|
|
|
# The tests unfortunately seem to require the PyQt for the GUI
|
|
|
|
doCheck = false;
|
|
|
|
|
2021-12-14 10:51:23 -08:00
|
|
|
meta = with lib; {
|
|
|
|
description = "Swap issued assets on the Liquid network using confidential transactions";
|
|
|
|
homepage = "https://github.com/Blockstream/liquid-swap";
|
|
|
|
license = licenses.gpl3Only;
|
|
|
|
maintainers = with maintainers; [ nixbitcoin ];
|
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
|
|
|
}
|