mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 07:13:23 +01:00
512fbb280f
(cherry picked from commit 91c7e8747af1fdc2a70cd98594ccbb12a5c6902d) Signed-off-by: Domen Kožar <domen@dev.si>
29 lines
619 B
Nix
29 lines
619 B
Nix
{ stdenv, fetchurl, perl }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "convmv-1.15";
|
|
|
|
src = fetchurl {
|
|
url = "http://www.j3e.de/linux/convmv/${name}.tar.gz";
|
|
sha256 = "0daiiapsrca8zlbmlz2kw2fn4vmkh48cblb70h08idchhk3sw5f3";
|
|
};
|
|
|
|
preBuild=''
|
|
makeFlags="PREFIX=$out"
|
|
'';
|
|
|
|
postBuild=''
|
|
tar -xf testsuite.tar
|
|
'';
|
|
|
|
doCheck = true;
|
|
checkTarget = "test";
|
|
|
|
buildInputs = [ perl ];
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Converts filenames from one encoding to another";
|
|
platforms = platforms.linux ++ platforms.freebsd ++ platforms.cygwin;
|
|
maintainers = [ maintainers.urkud ];
|
|
};
|
|
}
|