~earnestma/aptpkg-pkgs

ref: 1602f34b84dc37037e7adff80da84ba1d87bb2bb aptpkg-pkgs/main/restic/build -rw-r--r-- 548 bytes
1602f34bearnest ma Add shell.nix 10 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# Maintainer: earnest ma <me@earne.link>
name=restic
version=0.12.0
rev=0
type=file
url="https://restic.net/"
description="Fast, secure, efficient backup program"

source="https://github.com/restic/restic/releases/download/v${version}/restic_${version}_linux_amd64.bz2"

sha512sums="293d8274a3268ffb33758fd3f1c1eba61bb7211a4a0ebe85d38d01f013fa8dbf53207cb7f77ccd317cf8b705cab422eaadf877f39db5320adc36ce7dabad8750  restic_0.12.0_linux_amd64.bz2"

steps(){
    bunzip2 restic_*.bz2
    cin-bin restic_${version}_linux_amd64 $builddir/usr/bin/restic
}