3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/libraries/cpputest/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

20 lines
560 B
Nix

{stdenv, fetchurl}:
stdenv.mkDerivation rec {
version = "3.8";
pname = "cpputest";
src = fetchurl {
url = "https://github.com/cpputest/cpputest/releases/download/v${version}/${pname}-${version}.tar.gz";
sha256 = "0mk48xd3klyqi7wf3f4wn4zqxxzmvrhhl32r25jzrixzl72wq7f8";
};
meta = {
homepage = http://cpputest.github.io/;
description = "Unit testing and mocking framework for C/C++";
platforms = stdenv.lib.platforms.linux ;
license = stdenv.lib.licenses.bsd3;
maintainers = [ stdenv.lib.maintainers.juliendehos ];
};
}