2021-01-15 22:18:51 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, unzip, pkgconfig, glib, llvmPackages }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
pname = "milu-nightly";
|
|
|
|
version = "2016-05-09";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
sha256 = "14cglw04cliwlpvw7qrs6rfm5sv6qa558d7iby5ng3wdjcwx43nk";
|
|
|
|
rev = "b5f2521859c0319d321ad3c1ad793b826ab5f6e1";
|
|
|
|
repo = "Milu";
|
|
|
|
owner = "yuejia";
|
|
|
|
};
|
|
|
|
|
|
|
|
hardeningDisable = [ "format" ];
|
|
|
|
|
|
|
|
preConfigure = ''
|
|
|
|
sed -i 's#/usr/bin/##g' Makefile
|
|
|
|
'';
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out/bin
|
|
|
|
cp bin/milu $out/bin
|
|
|
|
'';
|
|
|
|
|
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
buildInputs = [
|
|
|
|
glib
|
|
|
|
unzip
|
|
|
|
llvmPackages.libclang
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Higher Order Mutation Testing Tool for C and C++ programs";
|
|
|
|
homepage = "https://github.com/yuejia/Milu";
|
2021-01-15 22:18:51 +00:00
|
|
|
license = lib.licenses.bsd2;
|
|
|
|
platforms = lib.platforms.linux;
|
|
|
|
maintainers = [ lib.maintainers.vrthra ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|