Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 autoreconfHook, 6}: 7 8stdenv.mkDerivation { 9 pname = "dmitry"; 10 version = "1.3a-unstable-2020-06-22"; 11 12 src = fetchFromGitHub { 13 owner = "jaygreig86"; 14 repo = "dmitry"; 15 rev = "f3ae08d4242e3e178271c827b86ff0d655972280"; 16 hash = "sha256-cYFeBM8xFMaLXYk6Rg+5JvfbbIJI9F3mefzCX3+XbB0="; 17 }; 18 19 patches = [ ./implicit-function-declaration.patch ]; 20 21 nativeBuildInputs = [ autoreconfHook ]; 22 23 env.NIX_CFLAGS_COMPILE = toString [ "-fcommon" ]; 24 25 meta = { 26 description = "Deepmagic Information Gathering Tool"; 27 mainProgram = "dmitry"; 28 homepage = "https://github.com/jaygreig86/dmitry"; 29 maintainers = with lib.maintainers; [ d3vil0p3r ]; 30 platforms = lib.platforms.linux; 31 license = lib.licenses.gpl2Plus; 32 }; 33}