1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-24 06:31:02 +00:00
nixpkgs/pkgs/applications/window-managers/i3/i3ipc-glib.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

35 lines
802 B
Nix

{ stdenv, fetchFromGitHub, pkgconfig, xorgproto, libxcb
, autoreconfHook, json-glib, gtk-doc, which
, gobject-introspection
}:
stdenv.mkDerivation rec {
pname = "i3ipc-glib";
version = "0.6.0";
src = fetchFromGitHub {
owner = "acrisci";
repo = "i3ipc-glib";
rev = "v${version}";
sha256 = "1gmk1zjafrn6jh4j7r0wkwrpwvf9drl1lcw8vya23i1f4zbk0wh4";
};
nativeBuildInputs = [ autoreconfHook which pkgconfig ];
buildInputs = [ libxcb json-glib gtk-doc xorgproto gobject-introspection ];
preAutoreconf = ''
gtkdocize
'';
meta = with stdenv.lib; {
description = "A C interface library to i3wm";
homepage = https://github.com/acrisci/i3ipc-glib;
maintainers = with maintainers; [teto];
license = licenses.gpl3;
platforms = platforms.linux;
};
}