My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/tools/text/uniscribe/default.nix

30 lines
754 B

{ stdenv, lib, bundlerEnv, bundlerUpdateScript, makeWrapper }:
let
rubyEnv = bundlerEnv {
name = "uniscribe";
gemdir = ./.;
};
in
stdenv.mkDerivation rec {
pname = "uniscribe";
version = (import ./gemset.nix).uniscribe.version;
nativeBuildInputs = [ makeWrapper ];
dontUnpack = true;
installPhase = ''
mkdir -p $out/bin
makeWrapper ${rubyEnv}/bin/uniscribe $out/bin/uniscribe
'';
passthru.updateScript = bundlerUpdateScript "uniscribe";
meta = with lib; {
description = "Explains Unicode characters/code points: Displays their name, category, and shows compositions";
homepage = "https://github.com/janlelis/uniscribe";
license = licenses.mit;
maintainers = with maintainers; [ kjeremy ];
};
}