Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at netboot-syslinux-multiplatform 36 lines 725 B view raw
1{ lib 2, stdenv 3, fetchurl 4, glib 5, gtk3 6, libffcall 7, pkg-config 8, wrapGAppsHook 9}: 10 11stdenv.mkDerivation rec { 12 pname = "gtk-server"; 13 version = "2.4.6"; 14 15 src = fetchurl { 16 url = "https://www.gtk-server.org/stable/gtk-server-${version}.tar.gz"; 17 sha256 = "sha256-sFL3y068oXDKgkEUcNnGVsNSPBdI1NzpsqdYJfmOQoA="; 18 }; 19 20 preConfigure = '' 21 cd src 22 ''; 23 24 nativeBuildInputs = [ pkg-config wrapGAppsHook ]; 25 buildInputs = [ libffcall glib gtk3 ]; 26 27 configureOptions = [ "--with-gtk3" ]; 28 29 meta = with lib; { 30 homepage = "http://www.gtk-server.org/"; 31 description = "gtk-server for interpreted GUI programming"; 32 license = licenses.gpl2Plus; 33 maintainers = [ ]; 34 platforms = platforms.linux; 35 }; 36}