nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 stdenv,
4 fetchurl,
5}:
6
7stdenv.mkDerivation {
8 pname = "emv";
9 version = "1.95";
10
11 src = fetchurl {
12 url = "http://www.i0i0.de/toolchest/emv";
13 sha256 = "7e0e12afa45ef5ed8025e5f2c6deea0ff5f512644a721f7b1b95b63406a8f7ce";
14 };
15
16 dontUnpack = true;
17
18 installPhase = ''
19 mkdir -pv $out/bin
20 cp $src $out/bin/emv
21 chmod +x $out/bin/emv
22 '';
23
24 meta = {
25 homepage = "http://www.i0i0.de/toolchest/emv";
26 description = "Editor Move: Rename files with your favourite text editor";
27 license = lib.licenses.publicDomain;
28 platforms = lib.platforms.unix;
29 mainProgram = "emv";
30 };
31}