summary refs log tree commit diff
path: root/pkgs/development/libraries/libnih/default.nix
blob: ab6931c63ca3626eb89a5b4d59bd6e1ee73c1038 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{ stdenv, fetchurl, pkgconfig, dbus, expat }:

let version = "1.0.3"; in

stdenv.mkDerivation rec {
  name = "libnih-${version}";
  
  src = fetchurl {
    url = "http://code.launchpad.net/libnih/1.0/${version}/+download/libnih-${version}.tar.gz";
    sha256 = "01glc6y7z1g726zwpvp2zm79pyb37ki729jkh45akh35fpgp4xc9";
  };

  buildInputs = [ pkgconfig dbus expat ];

  meta = {
    description = "A small library for C application development";
    homepage = https://launchpad.net/libnih;
    license = stdenv.lib.licenses.gpl2;
  };
}