Compare commits
6 commits
dependabot
...
master
Author | SHA1 | Date | |
---|---|---|---|
8c218cea25 | |||
261e7c4b08 | |||
14379431b0 | |||
f413419610 | |||
0afbfdd34d | |||
7f30704f20 |
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
|
@ -42,7 +42,7 @@ jobs:
|
|||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
- name: Install nix
|
||||
uses: cachix/install-nix-action@v23
|
||||
uses: cachix/install-nix-action@v26
|
||||
with:
|
||||
nix_path: "${{ matrix.nixPath }}"
|
||||
extra_nix_config: |
|
||||
|
@ -51,7 +51,7 @@ jobs:
|
|||
- name: Show nixpkgs version
|
||||
run: nix-instantiate --eval -E '(import <nixpkgs> {}).lib.version'
|
||||
- name: Setup cachix
|
||||
uses: cachix/cachix-action@v14
|
||||
uses: cachix/cachix-action@v12
|
||||
# Don't replace <YOUR_CACHIX_NAME> here!
|
||||
if: ${{ matrix.cachixName != '<YOUR_CACHIX_NAME>' }}
|
||||
with:
|
||||
|
|
2
.github/workflows/push.yaml
vendored
2
.github/workflows/push.yaml
vendored
|
@ -6,7 +6,7 @@ jobs:
|
|||
push:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- name: mirror
|
||||
|
|
|
@ -2,33 +2,33 @@
|
|||
# vim: set ft=nix ts=2 sw=2 sts=2 et sta
|
||||
{
|
||||
system ? builtins.currentSystem
|
||||
, pkgs
|
||||
, lib
|
||||
, fetchurl
|
||||
, installShellFiles
|
||||
, stdenvNoCC
|
||||
}:
|
||||
let
|
||||
shaMap = {
|
||||
i686-linux = "0ap6flinnqp8yd5w7g6pzpad4zq0k2f95hi9s8gjsj55rc1h2sma";
|
||||
x86_64-linux = "17m1miy61lhqndw99hl1linjamk6m7i2mi0lfd30d07lrxqh00c5";
|
||||
armv6l-linux = "1j9lshm71xwr67smyn1yw52v4qkb8zi764f1i0iib6krr08m9i4b";
|
||||
aarch64-linux = "1pap7dvns61gxrkm0hcqj7zf5pr6lyx4mwwlbwd18w14xgikb3ak";
|
||||
x86_64-darwin = "1iv1v2jsfnz99hc1fcclgnzx66iy80j7m9pn7wimcsyy4rfp9yf0";
|
||||
aarch64-darwin = "1iv1v2jsfnz99hc1fcclgnzx66iy80j7m9pn7wimcsyy4rfp9yf0";
|
||||
i686-linux = "0jcprls7i4928sjxcgbi2n7sn24125bc9klmxpczqx6d00cc04dm";
|
||||
x86_64-linux = "1zavnai1q9y00kwi8v2fkmnzwjh29f0gsh1hg1ih2ilxfgy09zwx";
|
||||
armv6l-linux = "1x12dqf19vglr08gfiwd4gas1qy31b7yadj8yl9ap1h72h7mxd38";
|
||||
aarch64-linux = "00cjcgz8fgpci82vsdmm3kps721rrg5wi493ah7y9qal9rbfl273";
|
||||
x86_64-darwin = "1bknr54ahh7flxaqx19y8b7mpf52qm1si49l7jg084d7zqwrgh2h";
|
||||
aarch64-darwin = "1bknr54ahh7flxaqx19y8b7mpf52qm1si49l7jg084d7zqwrgh2h";
|
||||
};
|
||||
|
||||
urlMap = {
|
||||
i686-linux = "https://git.froth.zone/sam/awl/releases/download/v0.6.11/awl_Linux_i386.tar.gz";
|
||||
x86_64-linux = "https://git.froth.zone/sam/awl/releases/download/v0.6.11/awl_Linux_amd64.tar.gz";
|
||||
armv6l-linux = "https://git.froth.zone/sam/awl/releases/download/v0.6.11/awl_Linux_arm.tar.gz";
|
||||
aarch64-linux = "https://git.froth.zone/sam/awl/releases/download/v0.6.11/awl_Linux_arm64.tar.gz";
|
||||
x86_64-darwin = "https://git.froth.zone/sam/awl/releases/download/v0.6.11/awl_MacOS_all.tar.gz";
|
||||
aarch64-darwin = "https://git.froth.zone/sam/awl/releases/download/v0.6.11/awl_MacOS_all.tar.gz";
|
||||
i686-linux = "https://git.froth.zone/sam/awl/releases/download/v0.6.13/awl_Linux_i386.tar.gz";
|
||||
x86_64-linux = "https://git.froth.zone/sam/awl/releases/download/v0.6.13/awl_Linux_amd64.tar.gz";
|
||||
armv6l-linux = "https://git.froth.zone/sam/awl/releases/download/v0.6.13/awl_Linux_arm.tar.gz";
|
||||
aarch64-linux = "https://git.froth.zone/sam/awl/releases/download/v0.6.13/awl_Linux_arm64.tar.gz";
|
||||
x86_64-darwin = "https://git.froth.zone/sam/awl/releases/download/v0.6.13/awl_MacOS_all.tar.gz";
|
||||
aarch64-darwin = "https://git.froth.zone/sam/awl/releases/download/v0.6.13/awl_MacOS_all.tar.gz";
|
||||
};
|
||||
in
|
||||
pkgs.stdenv.mkDerivation {
|
||||
stdenvNoCC.mkDerivation {
|
||||
pname = "awl";
|
||||
version = "0.6.11";
|
||||
version = "0.6.13";
|
||||
src = fetchurl {
|
||||
url = urlMap.${system};
|
||||
sha256 = shaMap.${system};
|
||||
|
@ -41,7 +41,7 @@ pkgs.stdenv.mkDerivation {
|
|||
installPhase = ''
|
||||
mkdir -p $out/bin
|
||||
cp -vr ./awl $out/bin/awl
|
||||
installManPage ./doc/awl.1.gz
|
||||
installManPage ./docs/awl.1.gz
|
||||
installShellCompletion ./completions/*
|
||||
'';
|
||||
|
||||
|
|
Loading…
Reference in a new issue