mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 02:24:27 +00:00
f3282c8d1e
* treewide: remove unused variables * making ofborg happy
28 lines
800 B
Nix
28 lines
800 B
Nix
{ stdenv, fetchurl, cmake, pkgconfig, gtest, doxygen
|
|
, graphviz, lcov }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "properties-cpp";
|
|
version = "0.0.1";
|
|
|
|
src = let srcver = version+"+14.10.20140730"; in
|
|
fetchurl {
|
|
url = "https://launchpad.net/ubuntu/+archive/primary/+files/${pname}_${srcver}.orig.tar.gz";
|
|
sha256 = "08vjyv7ibn6jh2ikj5v48kjpr3n6hlkp9qlvdn8r0vpiwzah0m2w";
|
|
};
|
|
|
|
buildInputs = [ cmake gtest doxygen pkgconfig graphviz lcov ];
|
|
|
|
patchPhase = ''
|
|
sed -i "/add_subdirectory(tests)/d" CMakeLists.txt
|
|
'';
|
|
|
|
meta = with stdenv.lib; {
|
|
homepage = https://launchpad.net/properties-cpp;
|
|
description = "A very simple convenience library for handling properties and signals in C++11.";
|
|
license = licenses.lgpl3;
|
|
maintainers = with maintainers; [ edwtjo ];
|
|
};
|
|
|
|
}
|