tv jc: init at 1.21.0
This commit is contained in:
parent
b00873ffa7
commit
ab4838d5f3
21
tv/5pkgs/override/jc.nix
Normal file
21
tv/5pkgs/override/jc.nix
Normal file
@ -0,0 +1,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";
|
||||||
|
};
|
||||||
|
}))
|
Loading…
Reference in New Issue
Block a user