summary refs log tree commit diff
path: root/pkgs/development/libraries/liboil/0.3.12.nix
blob: 5a04892d5bebb16a020cb629fec58c389e611b6f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
args: with args;

stdenv.mkDerivation rec {
  name = "liboil-" + version;

  src = fetchurl {
    url = "${meta.homepage}/download/${name}.tar.gz";
    sha256 = "0gdmly9sli1918pnb4ds1g38ipxikn651hdss86mp4qlfb8wvqlv";
  };

  configureFlags = "--enable-shared --disable-static";

  buildInputs = [pkgconfig];

  meta = {
    homepage = http://liboil.freedesktop.org;
    description = "Liboil is a library of simple functions that are optimized
    for various CPUs.";
  };
}