at 23.11-beta 55 lines 1.1 kB view raw
1{ stdenv 2, lib 3, fetchFromGitLab 4, meson 5, mesonEmulatorHook 6, ninja 7, pkg-config 8, gobject-introspection 9, vala 10, gtk-doc 11, docbook-xsl-nons 12, glib 13, libsoup 14}: 15 16stdenv.mkDerivation rec { 17 pname = "uhttpmock"; 18 version = "0.5.5"; 19 20 outputs = [ "out" "dev" "devdoc" ]; 21 22 src = fetchFromGitLab { 23 domain = "gitlab.freedesktop.org"; 24 owner = "pwithnall"; 25 repo = "uhttpmock"; 26 rev = version; 27 sha256 = "NuxiVVowZ8ilP9rcgapCe9OzFCpoOfZxZiSyjTeOrts="; 28 }; 29 30 strictDeps = true; 31 nativeBuildInputs = [ 32 meson 33 ninja 34 pkg-config 35 gobject-introspection 36 vala 37 gtk-doc 38 docbook-xsl-nons 39 ] ++ lib.optionals (!stdenv.buildPlatform.canExecute stdenv.hostPlatform) [ 40 mesonEmulatorHook 41 ]; 42 43 buildInputs = [ 44 glib 45 libsoup 46 ]; 47 48 meta = with lib; { 49 description = "Project for mocking web service APIs which use HTTP or HTTPS"; 50 homepage = "https://gitlab.freedesktop.org/pwithnall/uhttpmock/"; 51 license = licenses.lgpl21Plus; 52 maintainers = with maintainers; [ ]; 53 platforms = platforms.linux; 54 }; 55}