Unverified Commit f7a8b887 authored by Pol Dellaiera's avatar Pol Dellaiera Committed by GitHub
Browse files

Merge pull request #298449 from AdoPi/myanon

myanon: init at 0.5
parents 29b03c9f feb95b45
Loading
Loading
Loading
Loading
+30 −0
Original line number Diff line number Diff line
{ lib
, stdenv
, fetchFromGitHub
, autoreconfHook
, flex
, bison
}:

stdenv.mkDerivation (finalAttrs: {
  pname = "myanon";
  version = "0.5";

  src = fetchFromGitHub {
    owner = "ppomes";
    repo = "myanon";
    rev = "refs/tags/v${finalAttrs.version}";
    hash = "sha256-tTGr8bTxZc75GYhpJ0uzpkPtMB3r/DXRMNqSlG+1eaA=";
  };

  nativeBuildInputs = [ autoreconfHook flex bison ];

  meta = {
    description = "Myanon is a mysqldump anonymizer, reading a dump from stdin, and producing on the fly an anonymized version to stdout";
    homepage = "https://ppomes.github.io/myanon/";
    license = lib.licenses.bsd3;
    mainProgram = "myanon";
    platforms = lib.platforms.unix;
  };
})