mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 17:03:01 +00:00
Merge pull request #258773 from nevivurn/feat/unison-fsmonitor-init
unison-fsmonitor: init at 0.3.3
This commit is contained in:
commit
96b5819f1a
37
pkgs/by-name/un/unison-fsmonitor/package.nix
Normal file
37
pkgs/by-name/un/unison-fsmonitor/package.nix
Normal file
@ -0,0 +1,37 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, rustPlatform
|
||||
, darwin
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "unison-fsmonitor";
|
||||
version = "0.3.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "autozimu";
|
||||
repo = "unison-fsmonitor";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-JA0WcHHDNuQOal/Zy3yDb+O3acZN3rVX1hh0rOtRR+8=";
|
||||
};
|
||||
cargoHash = "sha256-aqAa0F1NSJI1nckTjG5C7VLxaLjJgD+9yK/IpclSMqs=";
|
||||
|
||||
buildInputs = lib.optionals stdenv.isDarwin [
|
||||
darwin.apple_sdk.frameworks.CoreServices
|
||||
];
|
||||
|
||||
checkFlags = [
|
||||
# accesses /usr/bin/env
|
||||
"--skip=test_follow_link"
|
||||
];
|
||||
|
||||
meta = {
|
||||
homepage = "https://github.com/autozimu/unison-fsmonitor";
|
||||
description = "fsmonitor implementation for darwin";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ nevivurn ];
|
||||
platforms = lib.platforms.darwin;
|
||||
mainProgram = "unison-fsmonitor";
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user