mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-04 21:03:15 +00:00
b60eddf989
Semi-automatic update generated by https://github.com/ryantm/nix-update tools. This update was made based on information from https://repology.org/metapackage/convmv/versions. These checks were done: - built on NixOS - Warning: no binary found that responded to help or version flags. (This warning appears even if the package isn't expected to have binaries.) - found 2.05 with grep in /nix/store/m6nrjfc07fmfrb5bgqa47r4rqg3m33bm-convmv-2.05 - directory tree listing: https://gist.github.com/f979cfc98f20cef8a081e913a83cca1f
31 lines
622 B
Nix
31 lines
622 B
Nix
{ stdenv, fetchurl, perl }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "convmv-2.05";
|
|
|
|
src = fetchurl {
|
|
url = "http://www.j3e.de/linux/convmv/${name}.tar.gz";
|
|
sha256 = "19hwv197p7c23f43vvav5bs19z9b72jzca2npkjsxgprwj5ardjk";
|
|
};
|
|
|
|
preBuild=''
|
|
makeFlags="PREFIX=$out"
|
|
'';
|
|
|
|
patchPhase=''
|
|
tar -xf testsuite.tar
|
|
patchShebangs .
|
|
'';
|
|
|
|
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 = [ ];
|
|
};
|
|
}
|