mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 23:13:19 +00:00
nasin-nanpa: 2.5.1 -> 3.1.0
This commit is contained in:
parent
e5c0436619
commit
375b4e2f8e
@ -2,29 +2,18 @@
|
|||||||
|
|
||||||
stdenvNoCC.mkDerivation rec {
|
stdenvNoCC.mkDerivation rec {
|
||||||
pname = "nasin-nanpa";
|
pname = "nasin-nanpa";
|
||||||
version = "2.5.1";
|
version = "3.1.0";
|
||||||
|
|
||||||
srcs = [
|
src = fetchurl {
|
||||||
(fetchurl {
|
url = "https://github.com/ETBCOR/nasin-nanpa/releases/download/n${version}/nasin-nanpa-${version}.otf";
|
||||||
name = "nasin-nanpa.otf";
|
hash = "sha256-remTvvOt7kpvTdq9H8tFI2yU+BtqePXlDDLQv/jtETU=";
|
||||||
url = "https://github.com/ETBCOR/nasin-nanpa/releases/download/n${version}/nasin-nanpa-${version}.otf";
|
};
|
||||||
hash = "sha256-++uOrqFzQ6CB/OPEmBivpjMfAtFk3PSsCNpFBjOtGEg=";
|
|
||||||
})
|
|
||||||
(fetchurl {
|
|
||||||
name = "nasin-nanpa-lasina-kin.otf";
|
|
||||||
url = "https://github.com/ETBCOR/nasin-nanpa/releases/download/n${version}/nasin-nanpa-${version}-lasina-kin.otf";
|
|
||||||
hash = "sha256-4WIX74y2O4NaKi/JQrgTbOxlKDQKJ/F9wkQuoOdWuTI=";
|
|
||||||
})
|
|
||||||
];
|
|
||||||
|
|
||||||
dontUnpack = true;
|
dontUnpack = true;
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p $out/share/fonts/opentype
|
mkdir -p $out/share/fonts/opentype
|
||||||
for src in $srcs; do
|
cp $src $out/share/fonts/opentype/nasin-nanpa.otf
|
||||||
file=$(stripHash $src)
|
|
||||||
cp $src $out/share/fonts/opentype/$file
|
|
||||||
done
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
Loading…
Reference in New Issue
Block a user