Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09 802 B view raw
1{ stdenv, fetchurl, cmake, pkgconfig, gtest, doxygen 2, graphviz, lcov }: 3 4stdenv.mkDerivation rec { 5 pname = "properties-cpp"; 6 version = "0.0.1"; 7 8 src = let srcver = version+"+14.10.20140730"; in 9 fetchurl { 10 url = "https://launchpad.net/ubuntu/+archive/primary/+files/${pname}_${srcver}.orig.tar.gz"; 11 sha256 = "08vjyv7ibn6jh2ikj5v48kjpr3n6hlkp9qlvdn8r0vpiwzah0m2w"; 12 }; 13 14 buildInputs = [ cmake gtest doxygen pkgconfig graphviz lcov ]; 15 16 patchPhase = '' 17 sed -i "/add_subdirectory(tests)/d" CMakeLists.txt 18 ''; 19 20 meta = with stdenv.lib; { 21 homepage = "https://launchpad.net/properties-cpp"; 22 description = "A very simple convenience library for handling properties and signals in C++11."; 23 license = licenses.lgpl3; 24 maintainers = with maintainers; [ edwtjo ]; 25 }; 26 27}