2021-01-15 22:18:51 +00:00
|
|
|
{ lib, stdenv, fetchurl
|
2021-02-05 17:12:51 +00:00
|
|
|
, pkg-config, libsoup, meson, ninja }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
let
|
2020-09-25 04:45:31 +00:00
|
|
|
version = "2.5";
|
2020-04-24 23:36:52 +00:00
|
|
|
in stdenv.mkDerivation rec {
|
|
|
|
pname = "phodav";
|
|
|
|
inherit version;
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://ftp.gnome.org/pub/GNOME/sources/phodav/${version}/${pname}-${version}.tar.xz";
|
2020-09-25 04:45:31 +00:00
|
|
|
sha256 = "045rdzf8isqmzix12lkz6z073b5qvcqq6ad028advm5gf36skw3i";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
mesonFlags = [
|
|
|
|
"-Davahi=disabled"
|
|
|
|
"-Dsystemd=disabled"
|
|
|
|
"-Dgtk_doc=disabled"
|
|
|
|
"-Dudev=disabled"
|
|
|
|
];
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
nativeBuildInputs = [ libsoup pkg-config meson ninja ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
outputs = [ "out" "dev" "lib" ];
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "WebDav server implementation and library using libsoup";
|
|
|
|
homepage = "https://wiki.gnome.org/phodav";
|
|
|
|
license = licenses.lgpl21;
|
|
|
|
maintainers = with maintainers; [ gnidorah ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|