2018-05-11 19:45:05 +01:00
|
|
|
{ stdenv, fetchurl
|
2019-10-26 02:21:04 +01:00
|
|
|
, pkgconfig, libsoup, meson, ninja }:
|
2018-05-11 19:45:05 +01:00
|
|
|
|
|
|
|
let
|
2020-03-14 06:27:10 +00:00
|
|
|
version = "2.4";
|
2018-05-11 19:45:05 +01:00
|
|
|
in stdenv.mkDerivation rec {
|
2019-08-13 22:52:01 +01:00
|
|
|
pname = "phodav";
|
|
|
|
inherit version;
|
2018-05-11 19:45:05 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-13 22:52:01 +01:00
|
|
|
url = "http://ftp.gnome.org/pub/GNOME/sources/phodav/${version}/${pname}-${version}.tar.xz";
|
2020-03-14 06:27:10 +00:00
|
|
|
sha256 = "1hxq8c5qfah3w7mxcyy3yhzdgswplll31a69p5mqdl04bsvw5pbx";
|
2018-05-11 19:45:05 +01:00
|
|
|
};
|
|
|
|
|
2019-10-26 02:21:04 +01:00
|
|
|
mesonFlags = [
|
|
|
|
"-Davahi=disabled"
|
|
|
|
"-Dsystemd=disabled"
|
|
|
|
"-Dgtk_doc=disabled"
|
2020-03-14 06:27:10 +00:00
|
|
|
"-Dudev=disabled"
|
2019-10-26 02:21:04 +01:00
|
|
|
];
|
2018-05-11 19:45:05 +01:00
|
|
|
|
2019-10-26 02:21:04 +01:00
|
|
|
nativeBuildInputs = [ libsoup pkgconfig meson ninja ];
|
2018-05-11 19:45:05 +01:00
|
|
|
|
2020-03-14 06:27:10 +00:00
|
|
|
outputs = [ "out" "dev" "lib" ];
|
|
|
|
|
2018-05-11 19:45:05 +01:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "WebDav server implementation and library using libsoup";
|
|
|
|
homepage = https://wiki.gnome.org/phodav;
|
|
|
|
license = licenses.lgpl21;
|
|
|
|
maintainers = with maintainers; [ gnidorah ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|