nixpkgs/pkgs/development/libraries/cutee/default.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

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;
};
}