7 stdenvNoCC.mkDerivation rec {
8 pname = "swiftdefaultapps";
11 # Fetch the release which includes the prebuild binary since this is a Swift project and nixpkgs
12 # doesn't currently have the ability to build Swift projects.
14 url = "https://github.com/Lord-Kamina/SwiftDefaultApps/releases/download/v${version}/SwiftDefaultApps-v${version}.zip";
16 sha256 = "sha256-0HsHjZBPUzmdvHy7E9EdZj6zwaXjSX2u5aj8pij0u3E=";
21 install -D './swda' "$out/bin/swda"
26 description = "View and change the default application for url schemes and UTIs";
27 homepage = "https://github.com/Lord-Kamina/SwiftDefaultApps";
28 license = licenses.beerware;
29 maintainers = [ maintainers.malo ];
30 platforms = platforms.darwin;