1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-25 15:11:35 +00:00
nixpkgs/pkgs/development/libraries/libnih/default.nix
John Ericson 531e4b80c9 misc pkgs: Basic sed to get fix pkgconfig and autoreconfHook buildInputs
Only acts on one-line dependency lists.
2017-09-21 15:49:53 -04:00

23 lines
607 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";
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ 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;
};
}