blob: 333d58d500c83d553517030c165e50269964b8f3 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
{ lib, stdenv, fetchFromGitHub, unzip, pkg-config, glib, llvmPackages }:
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 = [ pkg-config unzip ];
buildInputs = [
glib
llvmPackages.libclang
];
meta = {
description = "Higher Order Mutation Testing Tool for C and C++ programs";
homepage = "https://github.com/yuejia/Milu";
license = lib.licenses.bsd2;
platforms = lib.platforms.linux;
maintainers = [ ];
mainProgram = "milu";
};
}
|