nixpkgs/pkgs/tools/misc/mmv/default.nix

31 lines
802 B
Nix
Raw Normal View History

2021-03-16 12:43:47 +00:00
{ lib, stdenv, fetchFromGitHub, pkg-config, gengetopt, m4, gnupg
, git, perl, autoconf, automake, help2man, boehmgc }:
stdenv.mkDerivation rec {
pname = "mmv";
2021-06-05 08:20:27 +00:00
version = "2.1";
2021-03-16 12:43:47 +00:00
src = fetchFromGitHub {
owner = "rrthomas";
repo = "mmv";
rev = "v${version}";
2021-06-05 08:20:27 +00:00
sha256 = "sha256-3XWXOp30P/bOd+c7PC8duidewX8h0hk9VsEUw05dAE4=";
2021-03-16 12:43:47 +00:00
fetchSubmodules = true;
};
2021-03-16 12:43:47 +00:00
preConfigure = ''
./bootstrap
'';
2021-03-16 12:43:47 +00:00
nativeBuildInputs = [ gengetopt m4 git gnupg perl autoconf automake help2man pkg-config ];
buildInputs = [ boehmgc ];
meta = {
2021-03-16 12:43:47 +00:00
homepage = "https://github.com/rrthomas/mmv";
description = "Utility for wildcard renaming, copying, etc";
2021-03-16 12:43:47 +00:00
license = lib.licenses.gpl3Plus;
platforms = lib.platforms.all;
maintainers = with lib.maintainers; [ siraben ];
};
}