mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-10 19:55:41 +03:00
airdrop-cli: init at 0-unstable-2024-04-13
This commit is contained in:
parent
d89fc19e40
commit
8ea963f28d
1 changed files with 38 additions and 0 deletions
38
pkgs/by-name/ai/airdrop-cli/package.nix
Normal file
38
pkgs/by-name/ai/airdrop-cli/package.nix
Normal file
|
@ -0,0 +1,38 @@
|
|||
{
|
||||
lib,
|
||||
fetchFromGitHub,
|
||||
swift,
|
||||
swiftPackages,
|
||||
swiftpm,
|
||||
}:
|
||||
|
||||
# Doesn't build without using the same stdenv (and Clang) to build swift
|
||||
swiftPackages.stdenv.mkDerivation {
|
||||
pname = "airdrop-cli";
|
||||
version = "0-unstable-2024-04-13";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "vldmrkl";
|
||||
repo = "airdrop-cli";
|
||||
rev = "dcdd570c3af3aae509ba7ad9fb26782b427f3a1a";
|
||||
hash = "sha256-7gKKeedRayf27XrOhntu41AMXgxc7fqJRE8Jhbihh3o=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
swift
|
||||
swiftpm
|
||||
];
|
||||
|
||||
makeFlags = [
|
||||
"PREFIX=$(out)"
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "Use Airdrop from the CLI on macOS written in Swift";
|
||||
homepage = "https://github.com/vldmrkl/airdrop-cli";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ Enzime ];
|
||||
mainProgram = "airdrop";
|
||||
platforms = lib.platforms.darwin;
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue