25 lines
606 B
Nix
Raw Normal View History

2021-02-07 02:38:11 +03:00
{ stdenv, lib, fetchurl }:
2021-06-16 05:30:04 +03:00
stdenv.mkDerivation rec {
2021-02-07 02:38:11 +03:00
pname = "nomino";
2021-06-16 05:30:04 +03:00
version = "1.1.0";
2021-02-07 02:38:11 +03:00
src = fetchurl {
2021-06-16 05:30:04 +03:00
url = "https://github.com/yaa110/nomino/releases/download/${version}/nomino-linux-64bit";
2021-06-27 20:44:11 +03:00
sha256 = "sha256-yVpCIfkWR6HyQusNTtl5QcJ4EsQMsaRE1IpwC+MoVhk=";
2020-08-08 17:38:29 +04:00
};
2021-02-07 02:38:11 +03:00
phases = [ "installPhase" ];
installPhase = ''
mkdir -p $out/bin
cp $src $out/bin/nomino
'';
2020-08-08 17:38:29 +04:00
2021-02-07 02:38:11 +03:00
meta = with lib; {
2020-08-08 17:38:29 +04:00
description = "Batch rename utility for developers";
homepage = "https://github.com/yaa110/nomino";
license = licenses.mit;
maintainers = with maintainers; [ alukardbf ];
};
2021-06-27 20:44:11 +03:00
}