mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-05 13:23:17 +00:00
cdb3a5613e
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
31 lines
754 B
Nix
31 lines
754 B
Nix
{ 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 ];
|
|
};
|
|
}
|