tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
sourcehut.gitsrht: 0.85.7 -> 0.85.9
Christoph Heiss
2 years ago
d551b6f3
14357397
+8
-8
1 changed file
expand all
collapse all
unified
split
pkgs
applications
version-management
sourcehut
git.nix
+8
-8
pkgs/applications/version-management/sourcehut/git.nix
···
13
13
, setuptools
14
14
}:
15
15
let
16
16
-
version = "0.85.7";
17
17
-
gqlgen = import ./fix-gqlgen-trimpath.nix { inherit unzip; };
16
16
+
version = "0.85.9";
17
17
+
gqlgen = import ./fix-gqlgen-trimpath.nix { inherit unzip; gqlgenVersion = "0.17.42"; };
18
18
19
19
src = fetchFromSourcehut {
20
20
owner = "~sircmpwn";
21
21
repo = "git.sr.ht";
22
22
rev = version;
23
23
-
hash = "sha256-jkESrrVE+0O2g64zzPOpqhl8DpvmosQvuF0s6Xd+lbM=";
23
23
+
hash = "sha256-tmbBw6x3nqN9nRIR3xOXQ+L5EACXLQYLXQYK3lsOsAI=";
24
24
};
25
25
26
26
gitApi = buildGoModule ({
27
27
inherit src version;
28
28
pname = "gitsrht-api";
29
29
modRoot = "api";
30
30
-
vendorHash = "sha256-yWVpldqwpEZmeI18tvdIgof8GgSFEP70c8T5XDkryn0=";
30
30
+
vendorHash = "sha256-4KwnUi6ILUagMDXzuBG9CRT2N8uyjvRM74TwJqIzicc=";
31
31
} // gqlgen);
32
32
33
33
gitDispatch = buildGoModule ({
34
34
inherit src version;
35
35
pname = "gitsrht-dispatch";
36
36
modRoot = "gitsrht-dispatch";
37
37
-
vendorHash = "sha256-yWVpldqwpEZmeI18tvdIgof8GgSFEP70c8T5XDkryn0=";
37
37
+
vendorHash = "sha256-4KwnUi6ILUagMDXzuBG9CRT2N8uyjvRM74TwJqIzicc=";
38
38
39
39
postPatch = ''
40
40
substituteInPlace gitsrht-dispatch/main.go \
···
46
46
inherit src version;
47
47
pname = "gitsrht-keys";
48
48
modRoot = "gitsrht-keys";
49
49
-
vendorHash = "sha256-yWVpldqwpEZmeI18tvdIgof8GgSFEP70c8T5XDkryn0=";
49
49
+
vendorHash = "sha256-4KwnUi6ILUagMDXzuBG9CRT2N8uyjvRM74TwJqIzicc=";
50
50
51
51
postPatch = ''
52
52
substituteInPlace gitsrht-keys/main.go \
···
58
58
inherit src version;
59
59
pname = "gitsrht-shell";
60
60
modRoot = "gitsrht-shell";
61
61
-
vendorHash = "sha256-yWVpldqwpEZmeI18tvdIgof8GgSFEP70c8T5XDkryn0=";
61
61
+
vendorHash = "sha256-4KwnUi6ILUagMDXzuBG9CRT2N8uyjvRM74TwJqIzicc=";
62
62
63
63
postPatch = ''
64
64
substituteInPlace gitsrht-shell/main.go \
···
70
70
inherit src version;
71
71
pname = "gitsrht-update-hook";
72
72
modRoot = "gitsrht-update-hook";
73
73
-
vendorHash = "sha256-yWVpldqwpEZmeI18tvdIgof8GgSFEP70c8T5XDkryn0=";
73
73
+
vendorHash = "sha256-4KwnUi6ILUagMDXzuBG9CRT2N8uyjvRM74TwJqIzicc=";
74
74
75
75
postPatch = ''
76
76
substituteInPlace gitsrht-update-hook/main.go \