at 24.05-pre 37 lines 979 B view raw
1{ lib, stdenv, fetchFromGitHub, autoreconfHook, gtk2, gtk3, pkg-config 2, wrapGAppsHook }: 3 4stdenv.mkDerivation rec { 5 pname = "awf"; 6 version = "1.4.0"; 7 8 src = fetchFromGitHub { 9 owner = "valr"; 10 repo = "awf"; 11 rev = "v${version}"; 12 sha256 = "0jl2kxwpvf2n8974zzyp69mqhsbjnjcqm39y0jvijvjb1iy8iman"; 13 }; 14 15 nativeBuildInputs = [ autoreconfHook pkg-config wrapGAppsHook ]; 16 17 buildInputs = [ gtk2 gtk3 ]; 18 19 autoreconfPhase = '' 20 patchShebangs ./autogen.sh 21 ./autogen.sh 22 ''; 23 24 meta = with lib; { 25 description = "A Widget Factory"; 26 longDescription = '' 27 A widget factory is a theme preview application for gtk2 and 28 gtk3. It displays the various widget types provided by gtk2/gtk3 29 in a single window allowing to see the visual effect of the 30 applied theme. 31 ''; 32 homepage = "https://github.com/valr/awf"; 33 license = licenses.gpl3; 34 platforms = platforms.all; 35 maintainers = with maintainers; [ michalrus ]; 36 }; 37}