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