fcad0b0a5a
Some of these should be longDescriptions, but most others just shouldn't contain newlines. E.g. write description = "Bla"; and not description = '' Bla ''; This pollutes "nix-env -qa --description" output. svn path=/nixpkgs/trunk/; revision=14310
20 lines
465 B
Nix
20 lines
465 B
Nix
args: with args;
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "liboil-" + version;
|
|
|
|
src = fetchurl {
|
|
url = "${meta.homepage}/download/${name}.tar.gz";
|
|
sha256 = "0cndfz98zca40qc1d2waq1dkfx32yscbllbvlnlhjp4cjlkyh9qg";
|
|
};
|
|
|
|
configureFlags = "--enable-shared --disable-static";
|
|
|
|
buildInputs = [pkgconfig glib];
|
|
|
|
meta = {
|
|
homepage = http://liboil.freedesktop.org;
|
|
description = "A library of simple functions that are optimized for various CPUs";
|
|
};
|
|
}
|