nixpkgs-suyu/pkgs/tools/networking/phodav/default.nix

31 lines
766 B
Nix
Raw Normal View History

2018-05-11 20:45:05 +02:00
{ stdenv, fetchurl
2019-10-26 03:21:04 +02:00
, pkgconfig, libsoup, meson, ninja }:
2018-05-11 20:45:05 +02:00
let
2019-10-26 03:21:04 +02:00
version = "2.3";
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";
2019-10-26 03:21:04 +02:00
sha256 = "0ndy5qva6bq7vhk06jq2d4nr5fp98xsdwypg42vjz91h9ii1xxkf";
2018-05-11 20:45:05 +02:00
};
2019-10-26 03:21:04 +02:00
mesonFlags = [
"-Davahi=disabled"
"-Dsystemd=disabled"
"-Dgtk_doc=disabled"
];
2018-05-11 20:45:05 +02:00
2019-10-26 03:21:04 +02:00
nativeBuildInputs = [ libsoup pkgconfig meson ninja ];
2018-05-11 20:45:05 +02: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;
};
}