nixpkgs/pkgs/development/libraries/uhttpmock/default.nix
Artturin 729c8406c9 uhttpmock: enable strictDeps
fix cross

checked with diffing
2023-04-02 05:50:33 +03:00

56 lines
1.0 KiB
Nix

{ stdenv
, lib
, fetchFromGitLab
, meson
, mesonEmulatorHook
, ninja
, pkg-config
, gobject-introspection
, vala
, gtk-doc
, docbook-xsl-nons
, glib
, libsoup
}:
stdenv.mkDerivation rec {
pname = "uhttpmock";
version = "0.5.5";
outputs = [ "out" "dev" "devdoc" ];
src = fetchFromGitLab {
domain = "gitlab.freedesktop.org";
owner = "pwithnall";
repo = "uhttpmock";
rev = version;
sha256 = "NuxiVVowZ8ilP9rcgapCe9OzFCpoOfZxZiSyjTeOrts=";
};
strictDeps = true;
nativeBuildInputs = [
meson
ninja
pkg-config
gobject-introspection
vala
gtk-doc
docbook-xsl-nons
] ++ lib.optionals (!stdenv.buildPlatform.canExecute stdenv.hostPlatform) [
mesonEmulatorHook
];
buildInputs = [
glib
libsoup
];
meta = with lib; {
description = "Project for mocking web service APIs which use HTTP or HTTPS";
homepage = "https://gitlab.freedesktop.org/pwithnall/uhttpmock/";
license = licenses.lgpl21Plus;
maintainers = with maintainers; [ ];
platforms = platforms.linux;
};
}