aboutsummaryrefslogtreecommitdiff
path: root/pkgs
diff options
context:
space:
mode:
authorSimon Garrelou <simon@sixfoisneuf.fr>2023-11-11 22:19:45 +0100
committerSimon Garrelou <simon@sixfoisneuf.fr>2023-11-11 22:19:45 +0100
commit88935f52da7501632e719459c8e39d65eb6c53aa (patch)
treeb89366a86452c8174aa3d9fcce3108304c525307 /pkgs
parent68b94d18a6e0380863a0a8d409c42568e6086fd8 (diff)
downloadnixpkgs-88935f52da7501632e719459c8e39d65eb6c53aa.tar.gz
nixpkgs-88935f52da7501632e719459c8e39d65eb6c53aa.zip
Add Commit Mono
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/commit-mono/package.nix23
1 files changed, 23 insertions, 0 deletions
diff --git a/pkgs/commit-mono/package.nix b/pkgs/commit-mono/package.nix
new file mode 100644
index 0000000..bdfebf4
--- /dev/null
+++ b/pkgs/commit-mono/package.nix
@@ -0,0 +1,23 @@
1{lib
2, fetchzip
3, stdenv
4}:
5stdenv.mkDerivation rec {
6 pname = "commit-mono";
7 version = "1.141";
8
9 src = fetchzip {
10 url = "https://github.com/eigilnikolajsen/commit-mono/releases/download/v${version}/CommitMono-${version}.zip";
11 hash = "sha256-itfI1EDrzTK3nzqf3isBXRgWhSgYNQLMe+ytlrL5Yv4=";
12 };
13
14 dontBuild = true;
15
16 installPhase = ''
17 runHook preInstall
18
19 install -Dm644 *.otf -t $out/share/fonts/
20
21 runHook postInstall
22 '';
23} \ No newline at end of file