2 files changed +6
-92
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 4
4
fetchFromSourcehut ,
5
5
installShellFiles ,
6
6
scdoc ,
7
+ nix-update-script ,
7
8
} :
8
9
9
10
buildGoModule rec {
10
11
pname = "senpai" ;
11
- version = "0.3 .0" ;
12
+ version = "0.4 .0" ;
12
13
13
14
src = fetchFromSourcehut {
14
15
owner = "~delthas" ;
15
16
repo = "senpai" ;
16
17
rev = "v${ version } " ;
17
- sha256 = "sha256-A5kBrJJi+RcSpB0bi2heKzNl5LjdeT9h2Pc9kKXDg1A =" ;
18
+ sha256 = "sha256-3DVy+7mMVFmPpGxwJqtt2+QwNEMrgZazynawE/Wf+UM =" ;
18
19
} ;
19
20
20
- vendorHash = "sha256-kKYee1QJX7N101MTikHUbX+AqZ2NhM4soE4JAAOdAPI=" ;
21
-
22
- patches = [
23
- # fix build failures, submitted upstream https://lists.sr.ht/~delthas/senpai-dev/patches/48581
24
- ./bump-go-version.patch
25
- ] ;
21
+ vendorHash = "sha256-6glslBPjJr0TmrAkDGbOQ4sDzvODlavVeTugs6RXsCU=" ;
26
22
27
23
subPackages = [
28
24
"cmd/senpai"
@@ -39,6 +35,8 @@ buildGoModule rec {
39
35
installManPage doc/senpai.*
40
36
'' ;
41
37
38
+ passthru . updateScript = nix-update-script { } ;
39
+
42
40
meta = with lib ; {
43
41
description = "Your everyday IRC student" ;
44
42
mainProgram = "senpai" ;
0 commit comments