Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at fix-function-merge 27 lines 664 B view raw
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 mainProgram = "cutee"; 22 homepage = "https://www.codesink.org/cutee_unit_testing.html"; 23 license = licenses.gpl2Plus; 24 maintainers = with maintainers; [ leenaars]; 25 platforms = platforms.linux; 26 }; 27}