television: 0.11.9 -> 0.13.2
https://github.com/alexpasmantier/television/releases/tag/0.12.0 https://github.com/alexpasmantier/television/releases/tag/0.12.1 https://github.com/alexpasmantier/television/releases/tag/0.12.2 https://github.com/alexpasmantier/television/releases/tag/0.12.3 https://github.com/alexpasmantier/television/releases/tag/0.12.4 https://github.com/alexpasmantier/television/releases/tag/0.12.5 https://github.com/alexpasmantier/television/releases/tag/0.13.0 https://github.com/alexpasmantier/television/releases/tag/0.13.1 https://github.com/alexpasmantier/television/releases/tag/0.13.2 Signed-off-by: misilelab <misileminecord@gmail.com>
This commit is contained in:
parent
496d7958c8
commit
b9b371c2e1
@ -2,22 +2,35 @@
|
|||||||
lib,
|
lib,
|
||||||
rustPlatform,
|
rustPlatform,
|
||||||
fetchFromGitHub,
|
fetchFromGitHub,
|
||||||
|
makeWrapper,
|
||||||
testers,
|
testers,
|
||||||
television,
|
television,
|
||||||
nix-update-script,
|
nix-update-script,
|
||||||
|
extraPackages ? [ ],
|
||||||
}:
|
}:
|
||||||
rustPlatform.buildRustPackage (finalAttrs: {
|
rustPlatform.buildRustPackage (finalAttrs: {
|
||||||
pname = "television";
|
pname = "television";
|
||||||
version = "0.11.9";
|
version = "0.13.2";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "alexpasmantier";
|
owner = "alexpasmantier";
|
||||||
repo = "television";
|
repo = "television";
|
||||||
tag = finalAttrs.version;
|
tag = finalAttrs.version;
|
||||||
hash = "sha256-9ug3MFBAvdOpA7Cw5eqCjS2gWK0InqlfUAOItE0o40s=";
|
hash = "sha256-Ur6UTd3XsI2ZyVboQA9r3WDkl7hd1wQ0NCgTlYFF/C0=";
|
||||||
};
|
};
|
||||||
|
|
||||||
cargoHash = "sha256-n417hrDLpBD7LhtHfqHPgr9N+gkdC9nw+iDnNRcTqQQ=";
|
cargoHash = "sha256-LfaYRrJ4ZXoNVDsI650t+A7mWB9+2+znATp+mqDwTiE=";
|
||||||
|
|
||||||
|
nativeBuildInputs = [ makeWrapper ];
|
||||||
|
|
||||||
|
postInstall = lib.optionalString (extraPackages != [ ]) ''
|
||||||
|
wrapProgram $out/bin/tv \
|
||||||
|
--prefix PATH : ${lib.makeBinPath extraPackages}
|
||||||
|
'';
|
||||||
|
|
||||||
|
# TODO(@getchoo): Investigate selectively disabling some tests, or fixing them
|
||||||
|
# https://github.com/NixOS/nixpkgs/pull/423662#issuecomment-3156362941
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
passthru = {
|
passthru = {
|
||||||
tests.version = testers.testVersion {
|
tests.version = testers.testVersion {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user