mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-19 11:00:19 +03:00
051807b704
Semi-automatic update generated by https://github.com/ryantm/nix-update tools. These checks were done: - built on NixOS - ran `/nix/store/n66s6hq39pqk83sn77pz2ff02m642hzs-poco-1.9.0/bin/cpspc -h` got 0 exit code - ran `/nix/store/n66s6hq39pqk83sn77pz2ff02m642hzs-poco-1.9.0/bin/cpspc --help` got 0 exit code - ran `/nix/store/n66s6hq39pqk83sn77pz2ff02m642hzs-poco-1.9.0/bin/cpspc help` got 0 exit code - ran `/nix/store/n66s6hq39pqk83sn77pz2ff02m642hzs-poco-1.9.0/bin/f2cpsp -h` got 0 exit code - ran `/nix/store/n66s6hq39pqk83sn77pz2ff02m642hzs-poco-1.9.0/bin/f2cpsp --help` got 0 exit code - ran `/nix/store/n66s6hq39pqk83sn77pz2ff02m642hzs-poco-1.9.0/bin/f2cpsp help` got 0 exit code - found 1.9.0 with grep in /nix/store/n66s6hq39pqk83sn77pz2ff02m642hzs-poco-1.9.0
31 lines
812 B
Nix
31 lines
812 B
Nix
{ stdenv, fetchurl, cmake, pkgconfig, zlib, pcre, expat, sqlite, openssl, unixODBC, mysql }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "poco-${version}";
|
|
|
|
version = "1.9.0";
|
|
|
|
src = fetchurl {
|
|
url = "https://pocoproject.org/releases/${name}/${name}-all.tar.gz";
|
|
sha256 = "11z1i0drbacs7c7d5virc3kz7wh79svd06iffh8j6giikl7vz1q3";
|
|
};
|
|
|
|
nativeBuildInputs = [ cmake pkgconfig ];
|
|
|
|
buildInputs = [ zlib pcre expat sqlite openssl unixODBC mysql.connector-c ];
|
|
|
|
cmakeFlags = [
|
|
"-DPOCO_UNBUNDLED=ON"
|
|
];
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
meta = with stdenv.lib; {
|
|
homepage = https://pocoproject.org/;
|
|
description = "Cross-platform C++ libraries with a network/internet focus";
|
|
license = licenses.boost;
|
|
maintainers = with maintainers; [ orivej ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|