2021-01-16 18:09:27 -08:00
|
|
|
{ lib, stdenv, fetchFromGitHub, unzip, pkg-config, glib, llvmPackages }:
|
2016-05-04 23:38:50 -07:00
|
|
|
|
2019-08-13 14:52:01 -07:00
|
|
|
stdenv.mkDerivation {
|
2019-08-15 05:41:18 -07:00
|
|
|
pname = "milu-nightly";
|
2016-05-04 23:38:50 -07:00
|
|
|
version = "2016-05-09";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
sha256 = "14cglw04cliwlpvw7qrs6rfm5sv6qa558d7iby5ng3wdjcwx43nk";
|
|
|
|
rev = "b5f2521859c0319d321ad3c1ad793b826ab5f6e1";
|
|
|
|
repo = "Milu";
|
|
|
|
owner = "yuejia";
|
|
|
|
};
|
|
|
|
|
2016-05-31 05:28:59 -07:00
|
|
|
hardeningDisable = [ "format" ];
|
|
|
|
|
2016-05-04 23:38:50 -07:00
|
|
|
preConfigure = ''
|
|
|
|
sed -i 's#/usr/bin/##g' Makefile
|
|
|
|
'';
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out/bin
|
|
|
|
cp bin/milu $out/bin
|
|
|
|
'';
|
|
|
|
|
2021-03-05 10:11:00 -08:00
|
|
|
nativeBuildInputs = [ pkg-config unzip ];
|
2016-05-04 23:38:50 -07:00
|
|
|
buildInputs = [
|
|
|
|
glib
|
2018-01-16 13:20:13 -08:00
|
|
|
llvmPackages.libclang
|
2016-05-04 23:38:50 -07:00
|
|
|
];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Higher Order Mutation Testing Tool for C and C++ programs";
|
2020-03-31 18:11:51 -07:00
|
|
|
homepage = "https://github.com/yuejia/Milu";
|
2021-01-14 21:42:41 -08:00
|
|
|
license = lib.licenses.bsd2;
|
|
|
|
platforms = lib.platforms.linux;
|
|
|
|
maintainers = [ lib.maintainers.vrthra ];
|
2016-05-04 23:38:50 -07:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|