From ce0d9eecff20b4bcd5df86005763acb8f212b661 Mon Sep 17 00:00:00 2001 From: gnidorah Date: Fri, 11 May 2018 21:45:05 +0300 Subject: [PATCH] phodav: init at 2.2 --- pkgs/tools/networking/phodav/default.nix | 25 ++++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 27 insertions(+) create mode 100644 pkgs/tools/networking/phodav/default.nix diff --git a/pkgs/tools/networking/phodav/default.nix b/pkgs/tools/networking/phodav/default.nix new file mode 100644 index 000000000000..e585af81991e --- /dev/null +++ b/pkgs/tools/networking/phodav/default.nix @@ -0,0 +1,25 @@ +{ stdenv, fetchurl +, intltool, pkgconfig, glib, libsoup }: + +let + version = "2.2"; +in stdenv.mkDerivation rec { + name = "phodav-${version}"; + + src = fetchurl { + url = "http://ftp.gnome.org/pub/GNOME/sources/phodav/${version}/${name}.tar.xz"; + sha256 = "1hap0lncbcmivnflh0fbx7y58ry78p9wgj7z03r64ic0kvf0a0q8"; + }; + + buildInputs = [ intltool glib libsoup ]; + + nativeBuildInputs = [ pkgconfig ]; + + 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; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index fe4e0cc91f40..2db43f53bce9 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -4396,6 +4396,8 @@ with pkgs; philter = callPackage ../tools/networking/philter { }; + phodav = callPackage ../tools/networking/phodav { }; + pinentry = callPackage ../tools/security/pinentry { libcap = if stdenv.isDarwin then null else libcap; };