mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-09 06:23:36 +00:00
571c71e6f7
We are migrating packages that meet below requirements: 1. using `callPackage` 2. called path is a directory 3. overriding set is empty (`{ }`) 4. not containing path expressions other than relative path (to makenixpkgs-vet happy) 5. not referenced by nix files outside of the directory, other than`pkgs/top-level/all-packages.nix` 6. not referencing nix files outside of the directory 7. not referencing `default.nix` (since it's changed to `package.nix`) 8. `outPath` doesn't change after migration The tool is here: https://github.com/Aleksanaa/by-name-migrate.
25 lines
645 B
Nix
25 lines
645 B
Nix
{ lib, stdenv, fetchgit, autoreconfHook }:
|
|
|
|
stdenv.mkDerivation {
|
|
pname = "log4shib";
|
|
version = "1.0.9";
|
|
|
|
src = fetchgit {
|
|
url = "https://git.shibboleth.net/git/cpp-log4shib.git";
|
|
rev = "a1afe19b7b49c32fcb03e6d72809501b8965cf85";
|
|
sha256 = "06rrc5l6qxlc8abzim2jcxwz2c577qrjqx15cbfqq1zfqagj9hix";
|
|
};
|
|
|
|
nativeBuildInputs = [ autoreconfHook ];
|
|
|
|
CXXFLAGS = "-std=c++11";
|
|
|
|
meta = with lib; {
|
|
description = "Forked version of log4cpp that has been created for the Shibboleth project";
|
|
mainProgram = "log4shib-config";
|
|
maintainers = [ ];
|
|
license = licenses.lgpl21;
|
|
homepage = "http://log4cpp.sf.net";
|
|
};
|
|
}
|