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