mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00:00
571c71e6f7
We are migrating packages that meet below requirements: 1. using `callPackage` 2. called path is a directory 3. overriding set is empty (`{ }`) 4. not containing path expressions other than relative path (to makenixpkgs-vet happy) 5. not referenced by nix files outside of the directory, other than`pkgs/top-level/all-packages.nix` 6. not referencing nix files outside of the directory 7. not referencing `default.nix` (since it's changed to `package.nix`) 8. `outPath` doesn't change after migration The tool is here: https://github.com/Aleksanaa/by-name-migrate.
32 lines
842 B
Nix
32 lines
842 B
Nix
{ lib, stdenvNoCC, fetchzip }:
|
||
|
||
stdenvNoCC.mkDerivation rec {
|
||
pname = "undefined-medium";
|
||
version = "1.3";
|
||
|
||
src = fetchzip {
|
||
url = "https://github.com/andirueckel/undefined-medium/archive/v1.3.zip";
|
||
hash = "sha256-cVdk6a0xijAQ/18W5jalqRS7IiPufMJW27Scns+nbEY=";
|
||
};
|
||
|
||
installPhase = ''
|
||
runHook preInstall
|
||
|
||
install -Dm644 fonts/otf/*.otf -t $out/share/fonts/opentype
|
||
|
||
runHook postInstall
|
||
'';
|
||
|
||
meta = with lib; {
|
||
homepage = "https://undefined-medium.com/";
|
||
description = "Pixel grid-based monospace typeface";
|
||
longDescription = ''
|
||
undefined medium is a free and open-source pixel grid-based
|
||
monospace typeface suitable for programming, writing, and
|
||
whatever else you can think of … it’s pretty undefined.
|
||
'';
|
||
license = licenses.ofl;
|
||
platforms = platforms.all;
|
||
};
|
||
}
|