Merge pull request #108068 from Izorkin/samba-wsdd-fix
wsdd: fix send messages using correct socket
This commit is contained in:
commit
06489ad5f9
|
@ -1,4 +1,4 @@
|
||||||
{ stdenv, fetchFromGitHub, makeWrapper, nixosTests, python3 }:
|
{ stdenv, fetchFromGitHub, makeWrapper, nixosTests, python3, fetchpatch }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "wsdd";
|
pname = "wsdd";
|
||||||
|
@ -15,6 +15,15 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
buildInputs = [ python3 ];
|
buildInputs = [ python3 ];
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
(fetchpatch {
|
||||||
|
# https://github.com/christgau/wsdd/issues/72
|
||||||
|
name = "fix_send_messages_using_correct_socket.patch";
|
||||||
|
url = "https://github.com/christgau/wsdd/commit/1ed74fe73a9fe2e2720859e2822116d65e4ffa5b.patch";
|
||||||
|
sha256 = "1n9bqvh20nhnvnc5pxvzf9kk8nky6rmbmfryg65lfmr1hmg676zg";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
install -Dm0755 src/wsdd.py $out/bin/wsdd
|
install -Dm0755 src/wsdd.py $out/bin/wsdd
|
||||||
wrapProgram $out/bin/wsdd --prefix PYTHONPATH : "$PYTHONPATH"
|
wrapProgram $out/bin/wsdd --prefix PYTHONPATH : "$PYTHONPATH"
|
||||||
|
|
Loading…
Reference in New Issue