use kubie from pkgs-unstable

This commit is contained in:
Griffin Smith 2020-05-26 11:28:28 -04:00
parent 9d6939dc4b
commit da6724c979

View file

@ -1,30 +1,13 @@
{ config, lib, pkgs, ... }:
let
pkgs-unstable = import <nixpkgs-unstable> {};
kubie = pkgs-unstable.kubie.overrideAttrs (drv: rec {
name = "kubie-${version}";
version = "0.8.4";
src = pkgs.fetchFromGitHub {
rev = "v${version}";
owner = "sbstp";
repo = "kubie";
sha256 = "1f82xlhhxbjadjw609kr1kdm4n69c9mqjia4b3k505wjh7cc55n0";
};
cargoDeps = drv.cargoDeps.overrideAttrs (lib.const {
name = "${name}-vendor.tar.gz";
inherit src;
outputHash = "0mish7wqwq5ynl98n6swdn5i6mg62aih5rfykbl3wx39b468n481";
});
});
in
{
home.packages = with pkgs; [
kubectl
kubetail
sops
kubie
pkgs-unstable.kubie
# pkgs-unstable.argocd # provided by urbos
];