Unverified Commit bfcf56e7 authored by Gus's avatar Gus
Browse files

witr: 0.1.1 -> 0.1.8

parent 1cda6e55
Loading
Loading
Loading
Loading
+7 −3
Original line number Diff line number Diff line
@@ -6,13 +6,13 @@
}:
buildGoModule (finalAttrs: {
  pname = "witr";
  version = "0.1.1";
  version = "0.1.8";

  src = fetchFromGitHub {
    owner = "pranshuparmar";
    repo = "witr";
    tag = "v${finalAttrs.version}";
    hash = "sha256-U93fdcJ6Xdo2Z9WMVCFR2wxo1dhXVFd5MWGTF8B9a3M=";
    hash = "sha256-GRgbqZ3G/cpCzsm4/T7IB/XoT1K7Gqique908W31lhg=";
    # populate values that require us to use git. By doing this in postFetch we
    # can delete .git afterwards and maintain better reproducibility of the src.
    leaveDotGit = true;
@@ -37,8 +37,12 @@ buildGoModule (finalAttrs: {

  nativeBuildInputs = [ installShellFiles ];

  subPackages = [
    "cmd/witr"
  ];

  postInstall = ''
    installManPage docs/witr.1
    installManPage docs/cli/witr.1
  '';

  meta = {