wsdd: init at 0.6.2

This commit is contained in:
Izorkin 2020-11-21 22:33:28 +03:00
parent e286f0cf3b
commit e10ce84e27
No known key found for this signature in database
GPG key ID: 1436C1B3F3679F09
2 changed files with 32 additions and 0 deletions

View file

@ -0,0 +1,30 @@
{ stdenv, fetchFromGitHub, makeWrapper, python3 }:
stdenv.mkDerivation rec {
pname = "wsdd";
version = "0.6.2";
src = fetchFromGitHub {
owner = "christgau";
repo = pname;
rev = "v${version}";
sha256 = "0444xh1r5wd0zfch1hg1f9s4cw68srrm87hqx16qvlgx6jmz5j0p";
};
nativeBuildInputs = [ makeWrapper ];
buildInputs = [ python3 ];
installPhase = ''
install -Dm0755 src/wsdd.py $out/bin/wsdd
wrapProgram $out/bin/wsdd --prefix PYTHONPATH : "$PYTHONPATH"
'';
meta = with stdenv.lib; {
homepage = "https://github.com/christgau/wsdd";
description = "A Web Service Discovery (WSD) host daemon for SMB/Samba";
maintainers = with maintainers; [ izorkin ];
license = licenses.mit;
platforms = platforms.all;
};
}

View file

@ -17581,6 +17581,8 @@ in
webmetro = callPackage ../servers/webmetro { };
wsdd = callPackage ../servers/wsdd { };
webhook = callPackage ../servers/http/webhook { };
winstone = throw "Winstone is not supported anymore. Alternatives are Jetty or Tomcat.";