summary refs log tree commit diff
path: root/pkgs/development/libraries/uhttpmock/default.nix
blob: 7a27cd1fd678b03f73182fb7697da770a1fa66e0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{ 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;
  };
}