1 { lib, stdenv, fetchFromGitHub, pkg-config, gengetopt, m4, gnupg
2 , git, perl, autoconf, automake, help2man }:
4 stdenv.mkDerivation rec {
8 src = fetchFromGitHub {
12 hash = "sha256-2RxVGSanuSSNzKX5Hgo7QelfGmaG9wF0fvklqrrGszg=";
13 fetchSubmodules = true;
20 nativeBuildInputs = [ gengetopt m4 git gnupg perl autoconf automake help2man pkg-config ];
22 enableParallelBuilding = true;
24 env = lib.optionalAttrs stdenv.cc.isClang {
25 NIX_CFLAGS_COMPILE = toString [
26 "-Wno-error=implicit-function-declaration"
27 "-Wno-error=implicit-int"
28 "-Wno-error=int-conversion"
33 homepage = "https://github.com/rrthomas/mmv";
34 description = "Utility for wildcard renaming, copying, etc";
35 license = lib.licenses.gpl3Plus;
36 platforms = lib.platforms.all;
37 maintainers = with lib.maintainers; [ siraben ];