about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/libraries/uhttpmock
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/development/libraries/uhttpmock')
-rw-r--r--nixpkgs/pkgs/development/libraries/uhttpmock/default.nix26
1 files changed, 26 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/libraries/uhttpmock/default.nix b/nixpkgs/pkgs/development/libraries/uhttpmock/default.nix
new file mode 100644
index 000000000000..5420eb204e3d
--- /dev/null
+++ b/nixpkgs/pkgs/development/libraries/uhttpmock/default.nix
@@ -0,0 +1,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 ];
+  buildInputs = [ autoconf gtk-doc automake libtool glib libsoup gobject-introspection ];
+
+  preConfigure = "./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;
+  };
+}