Skip to content

Commit

Permalink
update kak-tree and sources
Browse files Browse the repository at this point in the history
  • Loading branch information
BrianHicks committed Jan 22, 2020
1 parent 49a47b7 commit 993f420
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 8 deletions.
6 changes: 3 additions & 3 deletions nix/sources.json
Expand Up @@ -301,10 +301,10 @@
"homepage": "https://github.com/NixOS/nixpkgs",
"owner": "NixOS",
"repo": "nixpkgs-channels",
"rev": "8da81465c19fca393a3b17004c743e4d82a98e4f",
"sha256": "1f3s27nrssfk413pszjhbs70wpap43bbjx2pf4zq5x2c1kd72l6y",
"rev": "d6430f3f77e64ae677fe59bbf41da1f9d85cad4b",
"sha256": "0vh5w507sab9gmhypaqlh53cpfh6kbxdx1k8r40bwvm8j165wjfp",
"type": "tarball",
"url": "https://github.com/NixOS/nixpkgs-channels/archive/8da81465c19fca393a3b17004c743e4d82a98e4f.tar.gz",
"url": "https://github.com/NixOS/nixpkgs-channels/archive/d6430f3f77e64ae677fe59bbf41da1f9d85cad4b.tar.gz",
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
},
"nvim-yarp": {
Expand Down
13 changes: 8 additions & 5 deletions pkgs/kak-tree/default.nix
Expand Up @@ -5,17 +5,20 @@ let
in with nixpkgs; rec {
src = pkgs.fetchgit {
url = "https://github.com/ul/kak-tree.git";
rev = "b5ea0f4fad961c8b3f6279a3af608f96b8eb3e35";
sha256 = "02pgaynkrss679j15ckvka9kn74k0ldwixzdgygsjhzzlcxi0gji";
rev = "2fa4b122a06c6b8b802329a66e2a59ddf00e8372";
sha256 = "17n0g9dljz700f1qd5qa4ps78mbzl24ai2zv549knv57ig09g5k5";
fetchSubmodules = true;
};

kak-tree = rustPlatform.buildRustPackage {
name = "kak-tree";
src = src;

cargoSha256 = "1hqnxjn898kpi850m3qz361hkkhjkhr5j4gk828isqlwl8q75dpr";
cargoBuildFlags =
[ ''--features "bash css haskell html javascript json python ruby"'' ];
# note: when updating, this needs to be set to all 1's so that Nix will
# re-fetch the dependencies from crates.io
cargoSha256 = "0n3j2d15m039cl3fn5ibk4kyk1hnawhwbkinph50ry4pzhix3ikb";
cargoBuildFlags = [
''--features "bash css elm haskell html javascript json python ruby"''
];
};
}

0 comments on commit 993f420

Please sign in to comment.