mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 14:41:17 +00:00
ab3eeabfed
Likewise for propagatedBuildNativeInputs, etc. "buildNativeInputs" sounds like an imperative rather than a noun phrase.
23 lines
607 B
Nix
23 lines
607 B
Nix
{stdenv, fetchurl, cmake, zlib, libxml2, eigen, python, cairo, pkgconfig }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "openbabel-2.3.1";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/openbabel/${name}.tar.gz";
|
|
sha256 = "18yprqsk0fi1ri4fmvpx2ym6gx9fp3by681pl3jffpjqmz4qnbly";
|
|
};
|
|
|
|
# TODO : perl & python bindings;
|
|
# TODO : wxGTK: I have no time to compile
|
|
# TODO : separate lib and apps
|
|
buildInputs = [ zlib libxml2 eigen python cairo ];
|
|
|
|
nativeBuildInputs = [ cmake pkgconfig ];
|
|
|
|
meta = {
|
|
platforms = stdenv.lib.platforms.all;
|
|
maintainers = [ stdenv.lib.maintainers.urkud ];
|
|
};
|
|
}
|