3
0
Fork 0
forked from mirrors/nixpkgs

milu: init at 2016-05-09

Milu is a mutation testing tool for C and C++ programs

Closes #15341
This commit is contained in:
Rahul Gopinath 2016-05-04 23:38:50 -07:00 committed by Joachim Fasting
parent 516f2ec309
commit 4700db89b1
No known key found for this signature in database
GPG key ID: 4330820E1E04DCF4
2 changed files with 42 additions and 0 deletions

View file

@ -0,0 +1,40 @@
{ stdenv, fetchFromGitHub, unzip, pkgconfig, glib, clang }:
stdenv.mkDerivation rec {
name = "milu-nightly-${version}";
version = "2016-05-09";
src = fetchFromGitHub {
sha256 = "14cglw04cliwlpvw7qrs6rfm5sv6qa558d7iby5ng3wdjcwx43nk";
rev = "b5f2521859c0319d321ad3c1ad793b826ab5f6e1";
repo = "Milu";
owner = "yuejia";
};
preConfigure = ''
sed -i 's#/usr/bin/##g' Makefile
sed -i "s#-lclang#-L$(clang --print-search-dirs |
sed -ne '/libraries:/{s/libraries: =//; s/:/ -L/gp}') -lclang#g" Makefile
'';
installPhase = ''
mkdir -p $out/bin
cp bin/milu $out/bin
'';
buildInputs = [
pkgconfig
glib
unzip
clang
];
meta = {
description = "Higher Order Mutation Testing Tool for C and C++ programs";
homepage = http://github.com/yuejia/Milu;
license = stdenv.lib.licenses.bsd2;
platforms = stdenv.lib.platforms.unix;
maintainers = [ stdenv.lib.maintainers.vrthra ];
};
}

View file

@ -2571,6 +2571,8 @@ in
noip = callPackage ../tools/networking/noip { };
milu = callPackage ../applications/misc/milu { };
mpack = callPackage ../tools/networking/mpack { };
pa_applet = callPackage ../tools/audio/pa-applet { };