blob: 346dd3eee040cd1d0aaa82b18838e5c56648dcb1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
self: super:
let
version = "1.21.0";
in
# Prevent downgrades.
assert self.lib.versionAtLeast version super.jc.version;
self.python3.pkgs.toPythonApplication
(self.python3.pkgs.jc.overrideAttrs
(oldAttrs: {
name = "jc-${version}";
version = version;
src = self.fetchFromGitHub {
owner = "kellyjonbrazil";
repo = "jc";
rev = "v${version}";
sha256 = "sha256-kS42WokR7ZIqIPi8LbX4tmtjn37tckea2ELbuqzTm2o";
};
}))
|