Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: b3a9a65955d7
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 04224d91ab32
Choose a head ref
  • 2 commits
  • 1 file changed
  • 2 contributors

Commits on Apr 8, 2020

  1. cheat: 3.8.0 -> 3.9.0

    Mic92 committed Apr 8, 2020

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    9902849 View commit details
  2. Merge pull request #84701 from Mic92/cheat

    cheat: 3.8.0 -> 3.9.0
    Mic92 authored Apr 8, 2020
    Copy the full SHA
    04224d9 View commit details
Showing with 10 additions and 3 deletions.
  1. +10 −3 pkgs/applications/misc/cheat/default.nix
13 changes: 10 additions & 3 deletions pkgs/applications/misc/cheat/default.nix
Original file line number Diff line number Diff line change
@@ -1,18 +1,25 @@
{ stdenv, fetchFromGitHub, buildGoModule }:
{ stdenv, fetchFromGitHub
, buildGoModule, installShellFiles }:

buildGoModule rec {
pname = "cheat";
version = "3.8.0";
version = "3.9.0";

src = fetchFromGitHub {
owner = "cheat";
repo = "cheat";
rev = version;
sha256 = "062dlc54x9qwb3hsxp20h94dpwsa1nzpjln9cqmvwjhvp434l97r";
sha256 = "0jbqflkcfdrinx1lk45klm8ml0n4cgp43nzls1376cd3hfayby1y";
};

subPackages = [ "cmd/cheat" ];

nativeBuildInputs = [ installShellFiles ];

postInstall = ''
installShellCompletion scripts/cheat.{bash,fish,zsh}
'';

modSha256 = "1is19qca5wgzya332rmpk862nnivxzgxchkllv629f5fwwdvdgmg";

meta = with stdenv.lib; {