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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

34 lines
708 B
Nix
Raw Normal View History

{ lib, stdenv, fetchurl, perl }:
stdenv.mkDerivation rec {
pname = "convmv";
version = "2.05";
src = fetchurl {
url = "https://www.j3e.de/linux/convmv/convmv-${version}.tar.gz";
sha256 = "19hwv197p7c23f43vvav5bs19z9b72jzca2npkjsxgprwj5ardjk";
};
preBuild=''
makeFlags="PREFIX=$out"
'';
patchPhase=''
tar -xf testsuite.tar
patchShebangs .
'';
doCheck = true;
checkTarget = "test";
buildInputs = [ perl ];
meta = with lib; {
2014-06-22 23:03:36 +02:00
description = "Converts filenames from one encoding to another";
platforms = platforms.linux ++ platforms.freebsd ++ platforms.cygwin;
maintainers = [ ];
2018-08-05 16:14:20 +02:00
license = licenses.gpl2Plus;
2023-11-27 02:17:53 +01:00
mainProgram = "convmv";
};
}