46420bbaa3
treewide replacement of stdenv.mkDerivation rec { name = "*-${version}"; version = "*"; to pname
27 lines
632 B
Nix
27 lines
632 B
Nix
{ stdenv, fetchurl }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "cutee";
|
|
version = "0.4.2";
|
|
|
|
src = fetchurl {
|
|
url = "http://www.codesink.org/download/${pname}-${version}.tar.gz";
|
|
sha256 = "18bzvhzx8k24mpcim5669n3wg9hd0sfsxj8zjpbr24hywrlppgc2";
|
|
};
|
|
|
|
buildFlags = "cutee";
|
|
|
|
installPhase = ''
|
|
mkdir -p $out/bin
|
|
cp cutee $out/bin
|
|
'';
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "C++ Unit Testing Easy Environment";
|
|
homepage = http://www.codesink.org/cutee_unit_testing.html;
|
|
license = licenses.gpl2Plus;
|
|
maintainers = with maintainers; [ leenaars];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|