python3Packages.orjson: Disable failing tests on 32 bit
[NixPkgs.git] / pkgs / development / libraries / openslp / default.nix
blob1eec70be6acad87101e34941192c1ce028a1c860
1 { lib, stdenv, fetchurl, fetchpatch }:
3 stdenv.mkDerivation rec {
4   pname = "openslp";
5   version = "2.0.0";
7   src = fetchurl {
8     url = "mirror://sourceforge/openslp/${version}/${version}/openslp-${version}.tar.gz";
9     sha256 = "16splwmqp0400w56297fkipaq9vlbhv7hapap8z09gp5m2i3fhwj";
10   };
12   patches = [
13     (fetchpatch {
14       name = "openslp-2.0.0-null-pointer-deref.patch";
15       url = "https://src.fedoraproject.org/cgit/rpms/openslp.git/plain/openslp-2.0.0-null-pointer-deref.patch";
16       sha256 = "186f3rj3z2lf5h1lpbhqk0szj2a9far1p3mjqg6422f29yjfnz6a";
17     })
18     (fetchpatch {
19       name = "openslp-2.0.0-CVE-2016-7567.patch";
20       url = "https://src.fedoraproject.org/cgit/rpms/openslp.git/plain/openslp-2.0.0-cve-2016-7567.patch";
21       sha256 = "0zp61axx93b7nrbsyhn2x4dnw7n9y6g4rys21hyqxk4khrnc2yr9";
22     })
23     ./CVE-2016-4912.patch
24     ./CVE-2019-5544.patch
25   ];
27   meta = with lib; {
28     homepage = "http://www.openslp.org/";
29     description = "An open-source implementation of the IETF Service Location Protocol";
30     maintainers = with maintainers; [ ttuegel ];
31     license = licenses.bsd3;
32     platforms = platforms.all;
33   };