13 stdenv.mkDerivation rec {
14 pname = "glib-testing";
17 outputs = [ "out" "dev" "devdoc" "installedTests" ];
19 src = fetchFromGitLab {
20 domain = "gitlab.gnome.org";
22 repo = "libglib-testing";
24 sha256 = "U3epLDdLES7MA71z7Q1WXMjzySTFERWBU0u8poObbEo=";
28 # allow installing installed tests to a separate output
29 ./installed-tests-path.patch
41 propagatedBuildInputs = [
46 "-Dinstalled_tests=true"
47 "-Dinstalled_test_prefix=${placeholder "installedTests"}"
52 installedTests = nixosTests.installed-tests.glib-testing;
57 description = "Test library providing test harnesses and mock classes complementing the classes provided by GLib";
58 homepage = "https://gitlab.gnome.org/pwithnall/libglib-testing";
59 license = licenses.lgpl21Plus;
60 maintainers = with maintainers; [ jtojnar ];
61 platforms = platforms.unix;