mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-21 21:23:06 +00:00
46420bbaa3
treewide replacement of stdenv.mkDerivation rec { name = "*-${version}"; version = "*"; to pname
19 lines
491 B
Nix
19 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;
|
|
};
|
|
}
|