commit
ec161d2240
@ -1,27 +1,35 @@ |
||||
{ stdenv, fetchurl, cmake, pkgconfig, gtest, doxygen |
||||
, graphviz, lcov }: |
||||
{ stdenv |
||||
, fetchurl |
||||
, cmake |
||||
, pkg-config |
||||
, 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 ]; |
||||
src = let srcver = "${version}+14.10.20140730"; in |
||||
fetchurl { |
||||
url = "https://launchpad.net/ubuntu/+archive/primary/+files/${pname}_${srcver}.orig.tar.gz"; |
||||
sha256 = "08vjyv7ibn6jh2ikj5v48kjpr3n6hlkp9qlvdn8r0vpiwzah0m2w"; |
||||
}; |
||||
|
||||
patchPhase = '' |
||||
postPatch = '' |
||||
sed -i "/add_subdirectory(tests)/d" CMakeLists.txt |
||||
''; |
||||
|
||||
nativeBuildInputs = [ cmake pkg-config ]; |
||||
|
||||
buildInputs = [ gtest doxygen graphviz lcov ]; |
||||
|
||||
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; |
||||
license = licenses.lgpl3Only; |
||||
maintainers = with maintainers; [ edwtjo ]; |
||||
}; |
||||
|
||||
} |
||||
|
@ -0,0 +1,33 @@ |
||||
{ lib |
||||
, buildPythonPackage |
||||
, fetchPypi |
||||
, aiohttp |
||||
, async-timeout |
||||
}: |
||||
|
||||
buildPythonPackage rec { |
||||
pname = "hole"; |
||||
version = "0.5.1"; |
||||
|
||||
src = fetchPypi { |
||||
inherit pname version; |
||||
sha256 = "065fxc0l16j8xkjd0y0qar9cmqmjyp8jcshakbakldkfscpx3s5m"; |
||||
}; |
||||
|
||||
propagatedBuildInputs = [ |
||||
aiohttp |
||||
async-timeout |
||||
]; |
||||
|
||||
# no tests are present |
||||
doCheck = false; |
||||
|
||||
pythonImportsCheck = [ "hole" ]; |
||||
|
||||
meta = with lib; { |
||||
description = "Python API for interacting with a Pihole instance."; |
||||
homepage = "https://github.com/home-assistant-ecosystem/python-hole"; |
||||
license = with licenses; [ mit ]; |
||||
maintainers = with maintainers; [ fab ]; |
||||
}; |
||||
} |
File diff suppressed because it is too large
Load Diff
Loading…
Reference in new issue