blueutil: 2.9.1 -> 2.10.0
- Format using nixfmt-rfc-style - Add passthru.tests.version - Add passthru.updateScript - Add meta.changelog
This commit is contained in:
parent
d60ffedd11
commit
e4975a606b
@ -1,7 +1,10 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, darwin
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
darwin,
|
||||
testers,
|
||||
nix-update-script,
|
||||
}:
|
||||
|
||||
let
|
||||
@ -9,13 +12,13 @@ let
|
||||
in
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "blueutil";
|
||||
version = "2.9.1";
|
||||
version = "2.10.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "toy";
|
||||
repo = "blueutil";
|
||||
rev = "v${finalAttrs.version}";
|
||||
hash = "sha256-dxsgMwgBImMxMMD+atgGakX3J9YMO2g3Yjl5zOJ8PW0=";
|
||||
hash = "sha256-x2khx8Y0PolpMiyrBatT2aHHyacrQVU/02Z4Dz9fBtI=";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
@ -34,7 +37,13 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
passthru = {
|
||||
tests.version = testers.testVersion { package = finalAttrs.finalPackage; };
|
||||
updateScript = nix-update-script { };
|
||||
};
|
||||
|
||||
meta = {
|
||||
changelog = "https://github.com/toy/blueutil/blob/main/CHANGELOG.md";
|
||||
description = "CLI for bluetooth on OSX";
|
||||
homepage = "https://github.com/toy/blueutil";
|
||||
license = lib.licenses.mit;
|
||||
|
Loading…
Reference in New Issue
Block a user