mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 08:23:09 +00:00
bleep: 0.0.7 -> 0.0.9 (#346909)
This commit is contained in:
commit
b2ab05c423
@ -6,6 +6,7 @@
|
||||
makeWrapper,
|
||||
lib,
|
||||
zlib,
|
||||
testers,
|
||||
}:
|
||||
let
|
||||
platform =
|
||||
@ -18,15 +19,15 @@ let
|
||||
|
||||
hash =
|
||||
{
|
||||
x86_64-linux = "sha256-dB8reN5rTlY5czFH7BaRya7qBa6czAIH2NkFWZh81ek=";
|
||||
x86_64-darwin = "sha256-tpUcduCPCbVVaYZZOhWdPlN6SW3LGZPWSO9bDStVDms=";
|
||||
aarch64-darwin = "sha256-V8QGF3Dpuy9I6CqKsJRHBHRdaLhc4XKZkv/rI7zs+qQ=";
|
||||
x86_64-linux = "sha256-Tp354ecJAZfTRrg1Rmot7nFGYfcp0ZBEn/ygTRkCBCM=";
|
||||
x86_64-darwin = "sha256-1tgFHdbrGGVofhSxJIw1oXkI6q5SJvN8L9bqRyj75j8=";
|
||||
aarch64-darwin = "sha256-UB0SoUwg9C8F8F2/CTKVNcqAofHkU7Rop04mMwBSIyY=";
|
||||
}
|
||||
."${stdenvNoCC.system}" or (throw "unsupported system ${stdenvNoCC.hostPlatform.system}");
|
||||
in
|
||||
stdenvNoCC.mkDerivation (finalAttrs: {
|
||||
pname = "bleep";
|
||||
version = "0.0.7";
|
||||
version = "0.0.9";
|
||||
|
||||
src = fetchzip {
|
||||
url = "https://github.com/oyvindberg/bleep/releases/download/v${finalAttrs.version}/bleep-${platform}.tar.gz";
|
||||
@ -59,6 +60,11 @@ stdenvNoCC.mkDerivation (finalAttrs: {
|
||||
--zsh <(bleep install-tab-completions-zsh --stdout) \
|
||||
'';
|
||||
|
||||
passthru.tests.version = testers.testVersion {
|
||||
package = finalAttrs.finalPackage;
|
||||
command = "bleep --help | sed -n '/Bleeping/s/[^0-9.]//gp'";
|
||||
};
|
||||
|
||||
meta = {
|
||||
homepage = "https://bleep.build/";
|
||||
sourceProvenance = [ lib.sourceTypes.binaryNativeCode ];
|
||||
|
Loading…
Reference in New Issue
Block a user