at 23.11-beta 34 lines 813 B view raw
1{ stdenv 2, lib 3, fetchurl 4, pkg-config 5, glib 6, gobject-introspection 7}: 8 9stdenv.mkDerivation rec { 10 pname = "libgmpris"; 11 version = "2.2.1-8"; 12 13 src = fetchurl { 14 url = "https://www.sonarnerd.net/src/focal/src/${pname}_${version}.tar.gz"; 15 sha256 = "sha256-iyKNmg6sf+mxlY/4vt5lKdrKfJzkoCYU2j1O8uwk8K4="; 16 }; 17 18 nativeBuildInputs = [ pkg-config gobject-introspection ]; 19 20 buildInputs = [ glib ]; 21 22 postInstall = '' 23 mkdir -p $out/share/doc/${pname} 24 cp ./AUTHORS $out/share/doc/${pname} 25 cp ./README $out/share/doc/${pname} 26 ''; 27 28 meta = with lib; { 29 homepage = "https://www.sonarnerd.net/src/"; 30 description = "GMPRIS GDBus bindings GDBus bindings generated from the GMPRIS XML spec files"; 31 license = licenses.lgpl21; 32 maintainers = with maintainers; [ lovesegfault ]; 33 }; 34}