incus: fix container tests from image rename (#360305)
[NixPkgs.git] / pkgs / by-name / bo / borg-sans-mono / package.nix
blob8037e5dc645f9d8dae0a27183f389dca728192ef
1 { lib, stdenvNoCC, fetchzip }:
3 stdenvNoCC.mkDerivation {
4   pname = "borg-sans-mono";
5   version = "0.2.0";
7   src = fetchzip {
8     # https://github.com/marnen/borg-sans-mono/issues/19
9     url = "https://github.com/marnen/borg-sans-mono/files/107663/BorgSansMono.ttf.zip";
10     hash = "sha256-nn7TGeVm45t7QI8+eEREBTFg9aShYYKtdEYEwQwO2fQ=";
11   };
13   installPhase = ''
14     runHook preInstall
16     install -Dm644 *.ttf -t $out/share/fonts/truetype
18     runHook postInstall
19   '';
21   meta = with lib; {
22     description = "Droid Sans Mono Slashed + Hasklig-style ligatures";
23     homepage = "https://github.com/marnen/borg-sans-mono";
24     license = licenses.asl20;
25     platforms = platforms.all;
26     maintainers = with maintainers; [ atila ];
27   };