nixpkgs-suyu/pkgs/development/libraries/cppunit/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

18 lines
491 B
Nix

{stdenv, fetchurl}:
stdenv.mkDerivation rec {
pname = "cppunit";
version = "1.14.0";
src = fetchurl {
url = "https://dev-www.libreoffice.org/src/${pname}-${version}.tar.gz";
sha256 = "1027cyfx5gsjkdkaf6c2wnjh68882grw8n672018cj3vs9lrhmix";
};
meta = with stdenv.lib; {
homepage = https://freedesktop.org/wiki/Software/cppunit/;
description = "C++ unit testing framework";
license = licenses.lgpl21;
platforms = platforms.linux ++ platforms.darwin;
};
}