nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 53 lines 1.2 kB view raw
1{ 2 apr, 3 aprutil, 4 directoryListingUpdater, 5 fetchurl, 6 lib, 7 mod_ca, 8 pkg-config, 9 stdenv, 10}: 11 12stdenv.mkDerivation rec { 13 pname = "mod_timestamp"; 14 version = "0.2.3"; 15 16 src = fetchurl { 17 url = "https://redwax.eu/dist/rs/${pname}-${version}.tar.gz"; 18 hash = "sha256-X49gJ1wQtwQT3GOZkluxdMIY2ZRpM9Y7DZln6Ag9DvM="; 19 }; 20 21 nativeBuildInputs = [ pkg-config ]; 22 23 buildInputs = [ 24 apr 25 aprutil 26 mod_ca 27 ]; 28 29 # FIXME: remove after next release after 0.2.3 30 patches = [ ./0001-DEFINE_STACK_OF-EVP_MD-seems-to-have-gone-recreate-i.patch ]; 31 32 env.NIX_CFLAGS_COMPILE = toString ( 33 lib.optionals stdenv.cc.isClang [ 34 "-Wno-error=int-conversion" 35 "-Wno-error=implicit-function-declaration" 36 ] 37 ); 38 39 inherit (mod_ca) configureFlags installFlags; 40 41 passthru.updateScript = directoryListingUpdater { 42 url = "https://redwax.eu/dist/rs/"; 43 }; 44 45 meta = { 46 description = "RedWax CA service module for issuing signed timestamps"; 47 homepage = "https://redwax.eu"; 48 changelog = "https://source.redwax.eu/projects/RS/repos/mod_timestamp/browse/ChangeLog"; 49 license = lib.licenses.asl20; 50 platforms = lib.platforms.unix; 51 maintainers = with lib.maintainers; [ dirkx ]; 52 }; 53}