mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 08:23:09 +00:00
phodav_2_0: re-init 2.5
It is needed for virt-viewer.
This commit is contained in:
parent
32ddabf3df
commit
bb3d5b6718
59
pkgs/tools/networking/phodav/2.0.nix
Normal file
59
pkgs/tools/networking/phodav/2.0.nix
Normal file
@ -0,0 +1,59 @@
|
|||||||
|
{ lib
|
||||||
|
, stdenv
|
||||||
|
, fetchurl
|
||||||
|
, fetchpatch
|
||||||
|
, pkg-config
|
||||||
|
, libsoup
|
||||||
|
, meson
|
||||||
|
, ninja
|
||||||
|
}:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
pname = "phodav";
|
||||||
|
version = "2.5";
|
||||||
|
|
||||||
|
outputs = [ "out" "dev" "lib" ];
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "http://ftp.gnome.org/pub/GNOME/sources/phodav/${version}/${pname}-${version}.tar.xz";
|
||||||
|
sha256 = "045rdzf8isqmzix12lkz6z073b5qvcqq6ad028advm5gf36skw3i";
|
||||||
|
};
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
(fetchpatch {
|
||||||
|
url = "https://gitlab.gnome.org/GNOME/phodav/-/commit/ae9ac98c1b3db26070111661aba02594c62d2cef.patch";
|
||||||
|
sha256 = "sha256-jIHG6aRqG00Q6aIQsn4tyQdy/b6juW6QiUPXLmIc3TE=";
|
||||||
|
})
|
||||||
|
(fetchpatch {
|
||||||
|
url = "https://gitlab.gnome.org/GNOME/phodav/-/commit/560ab5ca4f836d82bddbbe66ea0f7c6b4cab6b3b.patch";
|
||||||
|
sha256 = "sha256-2gP579qhEkp7fQ8DBGYbZcjb2Tr+WpJs30Z7lsQaz2g=";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
|
mesonFlags = [
|
||||||
|
"-Davahi=disabled"
|
||||||
|
"-Dsystemd=disabled"
|
||||||
|
"-Dgtk_doc=disabled"
|
||||||
|
"-Dudev=disabled"
|
||||||
|
];
|
||||||
|
|
||||||
|
NIX_LDFLAGS = lib.optionalString stdenv.isDarwin "-lintl";
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
pkg-config
|
||||||
|
meson
|
||||||
|
ninja
|
||||||
|
];
|
||||||
|
|
||||||
|
buildInputs = [
|
||||||
|
libsoup
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "WebDav server implementation and library using libsoup 2";
|
||||||
|
homepage = "https://wiki.gnome.org/phodav";
|
||||||
|
license = licenses.lgpl21Plus;
|
||||||
|
maintainers = with maintainers; [ wegank ];
|
||||||
|
platforms = platforms.unix;
|
||||||
|
};
|
||||||
|
}
|
@ -10161,6 +10161,8 @@ with pkgs;
|
|||||||
|
|
||||||
phodav = callPackage ../tools/networking/phodav { };
|
phodav = callPackage ../tools/networking/phodav { };
|
||||||
|
|
||||||
|
phodav_2_0 = callPackage ../tools/networking/phodav/2.0.nix { };
|
||||||
|
|
||||||
photon-rss = callPackage ../applications/networking/feedreaders/photon { };
|
photon-rss = callPackage ../applications/networking/feedreaders/photon { };
|
||||||
|
|
||||||
pim6sd = callPackage ../servers/pim6sd { };
|
pim6sd = callPackage ../servers/pim6sd { };
|
||||||
|
Loading…
Reference in New Issue
Block a user