joinmarket: use installPhase
This simplifies the build.
This commit is contained in:
parent
c6c14889eb
commit
254246cf39
@ -22,15 +22,15 @@ stdenv.mkDerivation {
|
|||||||
|
|
||||||
buildInputs = [ pythonEnv ];
|
buildInputs = [ pythonEnv ];
|
||||||
|
|
||||||
buildCommand = ''
|
installPhase = ''
|
||||||
mkdir -p $src-unpacked $out/bin
|
mkdir -p $out/bin
|
||||||
tar xzf $src --strip 1 -C $src-unpacked
|
|
||||||
|
|
||||||
# add-utxo.py -> bin/jm-add-utxo
|
# add-utxo.py -> bin/jm-add-utxo
|
||||||
cpBin() {
|
cpBin() {
|
||||||
cp $src-unpacked/scripts/$1 $out/bin/jm-''${1%.py}
|
cp scripts/$1 $out/bin/jm-''${1%.py}
|
||||||
}
|
}
|
||||||
cp $src-unpacked/scripts/joinmarketd.py $out/bin/joinmarketd
|
|
||||||
|
cp scripts/joinmarketd.py $out/bin/joinmarketd
|
||||||
cpBin add-utxo.py
|
cpBin add-utxo.py
|
||||||
cpBin convert_old_wallet.py
|
cpBin convert_old_wallet.py
|
||||||
cpBin receive-payjoin.py
|
cpBin receive-payjoin.py
|
||||||
|
Loading…
Reference in New Issue
Block a user