mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-15 18:23:09 +00:00
21f17d69f6
Build-tested on x86_64 Linux & Mac.
22 lines
580 B
Nix
22 lines
580 B
Nix
{ 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;
|
|
platforms = stdenv.lib.platforms.linux;
|
|
};
|
|
}
|