nixpkgs/pkgs/development/tools/build-managers/meson/default.nix

25 lines
691 B
Nix
Raw Normal View History

2015-10-21 07:00:41 +02:00
{ stdenv, fetchurl, ninja, python3 }:
stdenv.mkDerivation rec {
name = "meson-0.26.0";
src = fetchurl {
url = "https://github.com/jpakkane/meson/archive/0.26.0.tar.gz";
sha256 = "1hmfn1bkxnwsnlhw6x9ryfcm4zwsf2w7h51cll1xrxg1rq08fvck";
};
buildInputs = [ ninja python3 ];
installPhase = ''
python3 ./install_meson.py --prefix=$out --destdir="$pkgdir/"
2015-10-21 07:00:41 +02:00
'';
meta = {
homepage = "http://mesonbuild.com";
2015-10-24 12:50:15 +02:00
description = "SCons-like build system that use python as a front-end language and Ninja as a building backend";
license = stdenv.lib.licenses.asl20;
maintainers = [ stdenv.lib.maintainers.mbe ];
2016-05-25 20:56:37 +02:00
platforms = stdenv.lib.platforms.all;
2015-10-21 07:00:41 +02:00
};
}