Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at netboot-syslinux-multiplatform 56 lines 1.1 kB view raw
1{ fetchFromGitLab 2, gobject-introspection 3, gtk4 4, lib 5, meson 6, ninja 7, python3 8, stdenv 9, testers 10}: 11stdenv.mkDerivation (finalAttrs: { 12 pname = "blueprint-compiler"; 13 version = "0.6.0"; 14 15 src = fetchFromGitLab { 16 domain = "gitlab.gnome.org"; 17 owner = "jwestman"; 18 repo = "blueprint-compiler"; 19 rev = "v${finalAttrs.version}"; 20 hash = "sha256-L6EGterkZ8EB6xSnJDZ3IMuOumpTpEGnU74X3UgC7k0="; 21 }; 22 23 nativeBuildInputs = [ 24 meson 25 ninja 26 ]; 27 28 buildInputs = [ 29 (python3.withPackages (ps: with ps; [ 30 pygobject3 31 ])) 32 ]; 33 34 propagatedBuildInputs = [ 35 # For setup hook, so that the compiler can find typelib files 36 gobject-introspection 37 ]; 38 39 doCheck = true; 40 41 nativeCheckInputs = [ 42 gtk4 43 ]; 44 45 passthru.tests.version = testers.testVersion { 46 package = finalAttrs.finalPackage; 47 }; 48 49 meta = with lib; { 50 description = "A markup language for GTK user interface files"; 51 homepage = "https://gitlab.gnome.org/jwestman/blueprint-compiler"; 52 license = licenses.lgpl3Plus; 53 maintainers = with maintainers; [ benediktbroich ranfdev ]; 54 platforms = platforms.unix; 55 }; 56})