mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 19:21:04 +00:00
emojify: init at 2.2.0
This commit is contained in:
parent
a660a21f1f
commit
2c816df732
31
pkgs/by-name/em/emojify/package.nix
Normal file
31
pkgs/by-name/em/emojify/package.nix
Normal file
|
@ -0,0 +1,31 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "emojify";
|
||||
version = "2.2.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "mrowa44";
|
||||
repo = "emojify";
|
||||
rev = version;
|
||||
hash = "sha256-6cV+S8wTqJxPGsxiJ3hP6/CYPMWdF3qnz4ddL+F/oJU=";
|
||||
};
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
install -Dm755 emojify $out/bin/emojify
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Emoji on the command line";
|
||||
homepage = "https://github.com/mrowa44/emojify";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ snowflake ];
|
||||
platforms = platforms.all;
|
||||
mainProgram = "emojify";
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue