Skip to content

Commit

Permalink
bump asciinema-scenario to 0.2.0 via overlay and update nixpkgs flake
Browse files Browse the repository at this point in the history
  • Loading branch information
garbas committed Sep 28, 2020
1 parent 6d3d888 commit f2d1780
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 4 deletions.
6 changes: 3 additions & 3 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 14 additions & 1 deletion flake.nix
Expand Up @@ -24,7 +24,20 @@
}:
let
system = "x86_64-linux";
pkgs = import nixpkgs { inherit system; };

overlay = final: prev: {
asciinema-scenario = final.rustPlatform.buildRustPackage rec {
pname = "asciinema-scenario";
version = "0.2.0";
src = final.fetchCrate {
inherit pname version;
sha256 = "sha256-qMGi+myppWBapM7TkPeXC2g/M1FA1YGwESNrx8LVXkw=";
};
cargoSha256 = "1jb34b634wkn5zhzipwi67761qsbr2qvjkd6kz3031hapl457r0b";
};
};

pkgs = import nixpkgs { inherit system; overlays = [ overlay ]; };
inherit (pkgs.lib) getVersion;

pkgs-unstable = import released-nixpkgs-unstable { inherit system; };
Expand Down

0 comments on commit f2d1780

Please sign in to comment.