Merge pull request #108068 from Izorkin/samba-wsdd-fix
wsdd: fix send messages using correct socket
This commit is contained in:
commit
06489ad5f9
1 changed files with 10 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
{ stdenv, fetchFromGitHub, makeWrapper, nixosTests, python3 }:
|
||||
{ stdenv, fetchFromGitHub, makeWrapper, nixosTests, python3, fetchpatch }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "wsdd";
|
||||
|
@ -15,6 +15,15 @@ stdenv.mkDerivation rec {
|
|||
|
||||
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 = ''
|
||||
install -Dm0755 src/wsdd.py $out/bin/wsdd
|
||||
wrapProgram $out/bin/wsdd --prefix PYTHONPATH : "$PYTHONPATH"
|
||||
|
|
Loading…
Reference in a new issue