summary refs log tree commit diff
path: root/pkgs/development/libraries/libnih/default.nix
blob: 5683aa560b18b04b156895c9b7d65cb7bc4f5d13 (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.1"; in

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

  buildInputs = [ pkgconfig dbus expat ];
  
  meta = {
    description = "A small library for C application development";
    homepage = https://launchpad.net/libnih;
    license = "GPLv2";
  };
}