···1516buildGoModule rec {
17 pname = "gitea";
18- version = "1.18.4";
1920 # not fetching directly from the git repo, because that lacks several vendor files for the web UI
21 src = fetchurl {
22 url = "https://dl.gitea.io/gitea/${version}/gitea-src-${version}.tar.gz";
23- hash = "sha256-LSSOmqSeiv9qNCAsRWYtjRLfUDLMd8mOVAxTOacvNOA=";
24 };
2526 vendorHash = null;
···1516buildGoModule rec {
17 pname = "gitea";
18+ version = "1.18.5";
1920 # not fetching directly from the git repo, because that lacks several vendor files for the web UI
21 src = fetchurl {
22 url = "https://dl.gitea.io/gitea/${version}/gitea-src-${version}.tar.gz";
23+ hash = "sha256-OGPn4fknYfzmuAi6CL8m/Ih4uRNraVDmpBm20qT3lKk=";
24 };
2526 vendorHash = null;
···1+{ stdenv, lib, fetchurl, undmg, ... }:
2+3+stdenv.mkDerivation rec {
4+ version = "3.0.1";
5+ pname = "grandperspective";
6+7+ src = fetchurl {
8+ inherit version;
9+ url = "mirror://sourceforge/grandperspectiv/GrandPerspective-${builtins.replaceStrings [ "." ] [ "_" ] version}.dmg";
10+ sha256 = "sha256-ZPqrlN9aw5q7656GmmxCnTRBw3lu9n952rIyun8MsiI=";
11+ };
12+13+ sourceRoot = "GrandPerspective.app";
14+ buildInputs = [ undmg ];
15+ installPhase = ''
16+ mkdir -p "$out/Applications/GrandPerspective.app";
17+ cp -R . "$out/Applications/GrandPerspective.app";
18+ '';
19+20+ meta = with lib; {
21+ description = "Open-source macOS application to analyze disk usage";
22+ longDescription = ''
23+ GrandPerspective is a small utility application for macOS that graphically shows the disk usage within a file
24+ system. It can help you to manage your disk, as you can easily spot which files and folders take up the most
25+ space. It uses a so called tree map for visualisation. Each file is shown as a rectangle with an area proportional to
26+ the file's size. Files in the same folder appear together, but their placement is otherwise arbitrary.
27+ '';
28+ homepage = "https://grandperspectiv.sourceforge.net";
29+ license = licenses.gpl2;
30+ maintainers = with maintainers; [ eliandoran ];
31+ platforms = [ "x86_64-darwin" ];
32+ };
33+34+}