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
, setuptools
14
}:
15
let
16
-
version = "0.85.7";
17
-
gqlgen = import ./fix-gqlgen-trimpath.nix { inherit unzip; };
18
19
src = fetchFromSourcehut {
20
owner = "~sircmpwn";
21
repo = "git.sr.ht";
22
rev = version;
23
-
hash = "sha256-jkESrrVE+0O2g64zzPOpqhl8DpvmosQvuF0s6Xd+lbM=";
24
};
25
26
gitApi = buildGoModule ({
27
inherit src version;
28
pname = "gitsrht-api";
29
modRoot = "api";
30
-
vendorHash = "sha256-yWVpldqwpEZmeI18tvdIgof8GgSFEP70c8T5XDkryn0=";
31
} // gqlgen);
32
33
gitDispatch = buildGoModule ({
34
inherit src version;
35
pname = "gitsrht-dispatch";
36
modRoot = "gitsrht-dispatch";
37
-
vendorHash = "sha256-yWVpldqwpEZmeI18tvdIgof8GgSFEP70c8T5XDkryn0=";
38
39
postPatch = ''
40
substituteInPlace gitsrht-dispatch/main.go \
···
46
inherit src version;
47
pname = "gitsrht-keys";
48
modRoot = "gitsrht-keys";
49
-
vendorHash = "sha256-yWVpldqwpEZmeI18tvdIgof8GgSFEP70c8T5XDkryn0=";
50
51
postPatch = ''
52
substituteInPlace gitsrht-keys/main.go \
···
58
inherit src version;
59
pname = "gitsrht-shell";
60
modRoot = "gitsrht-shell";
61
-
vendorHash = "sha256-yWVpldqwpEZmeI18tvdIgof8GgSFEP70c8T5XDkryn0=";
62
63
postPatch = ''
64
substituteInPlace gitsrht-shell/main.go \
···
70
inherit src version;
71
pname = "gitsrht-update-hook";
72
modRoot = "gitsrht-update-hook";
73
-
vendorHash = "sha256-yWVpldqwpEZmeI18tvdIgof8GgSFEP70c8T5XDkryn0=";
74
75
postPatch = ''
76
substituteInPlace gitsrht-update-hook/main.go \
···
13
, setuptools
14
}:
15
let
16
+
version = "0.85.9";
17
+
gqlgen = import ./fix-gqlgen-trimpath.nix { inherit unzip; gqlgenVersion = "0.17.42"; };
18
19
src = fetchFromSourcehut {
20
owner = "~sircmpwn";
21
repo = "git.sr.ht";
22
rev = version;
23
+
hash = "sha256-tmbBw6x3nqN9nRIR3xOXQ+L5EACXLQYLXQYK3lsOsAI=";
24
};
25
26
gitApi = buildGoModule ({
27
inherit src version;
28
pname = "gitsrht-api";
29
modRoot = "api";
30
+
vendorHash = "sha256-4KwnUi6ILUagMDXzuBG9CRT2N8uyjvRM74TwJqIzicc=";
31
} // gqlgen);
32
33
gitDispatch = buildGoModule ({
34
inherit src version;
35
pname = "gitsrht-dispatch";
36
modRoot = "gitsrht-dispatch";
37
+
vendorHash = "sha256-4KwnUi6ILUagMDXzuBG9CRT2N8uyjvRM74TwJqIzicc=";
38
39
postPatch = ''
40
substituteInPlace gitsrht-dispatch/main.go \
···
46
inherit src version;
47
pname = "gitsrht-keys";
48
modRoot = "gitsrht-keys";
49
+
vendorHash = "sha256-4KwnUi6ILUagMDXzuBG9CRT2N8uyjvRM74TwJqIzicc=";
50
51
postPatch = ''
52
substituteInPlace gitsrht-keys/main.go \
···
58
inherit src version;
59
pname = "gitsrht-shell";
60
modRoot = "gitsrht-shell";
61
+
vendorHash = "sha256-4KwnUi6ILUagMDXzuBG9CRT2N8uyjvRM74TwJqIzicc=";
62
63
postPatch = ''
64
substituteInPlace gitsrht-shell/main.go \
···
70
inherit src version;
71
pname = "gitsrht-update-hook";
72
modRoot = "gitsrht-update-hook";
73
+
vendorHash = "sha256-4KwnUi6ILUagMDXzuBG9CRT2N8uyjvRM74TwJqIzicc=";
74
75
postPatch = ''
76
substituteInPlace gitsrht-update-hook/main.go \