1{ lib, stdenv, fetchurl }:
2
3stdenv.mkDerivation rec {
4 pname = "cutee";
5 version = "0.4.2";
6
7 src = fetchurl {
8 url = "http://www.codesink.org/download/${pname}-${version}.tar.gz";
9 sha256 = "18bzvhzx8k24mpcim5669n3wg9hd0sfsxj8zjpbr24hywrlppgc2";
10 };
11
12 buildFlags = [ "cutee" ];
13
14 installPhase = ''
15 mkdir -p $out/bin
16 cp cutee $out/bin
17 '';
18
19 meta = with lib; {
20 description = "C++ Unit Testing Easy Environment";
21 homepage = "https://www.codesink.org/cutee_unit_testing.html";
22 license = licenses.gpl2Plus;
23 maintainers = with maintainers; [ leenaars];
24 platforms = platforms.linux;
25 };
26}