depot/third_party/nixpkgs/pkgs/development/libraries/uhttpmock/default.nix

27 lines
814 B
Nix
Raw Normal View History

{ stdenv, lib, fetchFromGitLab, autoconf, gtk-doc, automake, libtool, pkg-config, glib, libsoup, gobject-introspection }:
stdenv.mkDerivation rec {
version="0.5.0";
pname = "uhttpmock";
src = fetchFromGitLab {
repo = "uhttpmock";
owner = "uhttpmock";
rev = version;
sha256 = "0kkf670abkq5ikm3mqls475lydfsd9by1kv5im4k757xrl1br1d4";
};
nativeBuildInputs = [ pkg-config autoconf automake gtk-doc libtool gobject-introspection ];
buildInputs = [ glib libsoup ];
preConfigure = "NOCONFIGURE=1 ./autogen.sh";
meta = with lib; {
description = "Project for mocking web service APIs which use HTTP or HTTPS";
homepage = "https://gitlab.com/groups/uhttpmock/";
license = licenses.lgpl21;
maintainers = with maintainers; [ ];
platforms = with platforms; linux;
};
}