31 lines
629 B
Nix
31 lines
629 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchurl,
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "cutee";
|
|
version = "0.4.2";
|
|
|
|
src = fetchurl {
|
|
url = "https://www.codesink.org/download/cutee-${finalAttrs.version}.tar.gz";
|
|
sha256 = "18bzvhzx8k24mpcim5669n3wg9hd0sfsxj8zjpbr24hywrlppgc2";
|
|
};
|
|
|
|
buildFlags = [ "cutee" ];
|
|
|
|
installPhase = ''
|
|
mkdir -p $out/bin
|
|
cp cutee $out/bin
|
|
'';
|
|
|
|
meta = {
|
|
description = "C++ Unit Testing Easy Environment";
|
|
mainProgram = "cutee";
|
|
homepage = "https://www.codesink.org/cutee_unit_testing.html";
|
|
license = lib.licenses.gpl2Plus;
|
|
platforms = lib.platforms.linux;
|
|
};
|
|
})
|