tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
cgit: 1.1 -> 1.2.1
Fixes CVE-2018-14912.
Bjørn Forsman
7 years ago
970d5ef1
ce3e9620
+4
-4
1 changed file
expand all
collapse all
unified
split
pkgs
applications
version-management
git-and-tools
cgit
default.nix
+4
-4
pkgs/applications/version-management/git-and-tools/cgit/default.nix
···
6
7
stdenv.mkDerivation rec {
8
name = "cgit-${version}";
9
-
version = "1.1";
10
11
src = fetchurl {
12
url = "https://git.zx2c4.com/cgit/snapshot/${name}.tar.xz";
13
-
sha256 = "142qcgs8dwnzhymn0a7xx47p9fc2z5wrb86ah4a9iz0mpqlsz288";
14
};
15
16
# cgit is tightly coupled with git and needs a git source tree to build.
17
# IMPORTANT: Remember to check which git version cgit needs on every version
18
# bump (look for "GIT_VER" in the top-level Makefile).
19
gitSrc = fetchurl {
20
-
url = "mirror://kernel/software/scm/git/git-2.10.2.tar.xz";
21
-
sha256 = "0wc64dzcxrzgi6kwcljz6y3cwm3ajdgf6aws7g58azbhvl1jk04l";
22
};
23
24
nativeBuildInputs = [ pkgconfig ] ++ [ python wrapPython ];
···
6
7
stdenv.mkDerivation rec {
8
name = "cgit-${version}";
9
+
version = "1.2.1";
10
11
src = fetchurl {
12
url = "https://git.zx2c4.com/cgit/snapshot/${name}.tar.xz";
13
+
sha256 = "1gw2j5xc5qdx2hwiwkr8h6kgya7v9d9ff9j32ga1dys0cca7qm1w";
14
};
15
16
# cgit is tightly coupled with git and needs a git source tree to build.
17
# IMPORTANT: Remember to check which git version cgit needs on every version
18
# bump (look for "GIT_VER" in the top-level Makefile).
19
gitSrc = fetchurl {
20
+
url = "mirror://kernel/software/scm/git/git-2.18.0.tar.xz";
21
+
sha256 = "14hfwfkrci829a9316hnvkglnqqw1p03cw9k56p4fcb078wbwh4b";
22
};
23
24
nativeBuildInputs = [ pkgconfig ] ++ [ python wrapPython ];