Unverified Commit 38d818f1 authored by Defelo's avatar Defelo
Browse files

termshot: 0.3.0 -> 0.4.0

parent 1ce00b16
Loading
Loading
Loading
Loading
+5 −3
Original line number Diff line number Diff line
@@ -8,16 +8,16 @@
}:
buildGoModule rec {
  pname = "termshot";
  version = "0.3.0";
  version = "0.4.0";

  src = fetchFromGitHub {
    owner = "homeport";
    repo = "termshot";
    tag = "v${version}";
    hash = "sha256-vvSUdXVLuc3GmxPX9SzSeb8vbmqjhSLjXd9nmU7Q46g=";
    hash = "sha256-x2XVA686E3GPMz1hzTWZ1FqVflfPWTwbAf8JAG8HMp0=";
  };

  vendorHash = "sha256-nXAIU07SY/GdWZGASHXDg36cSGKw4elLOBDCoJk/xlU=";
  vendorHash = "sha256-ON3dmwf9IYEf+e4Z5EJ72wC4IIr/0/ssgzAJmRb7MSk=";

  ldflags = [
    "-s"
@@ -25,6 +25,8 @@ buildGoModule rec {
    "-X github.com/homeport/termshot/internal/cmd.version=${version}"
  ];

  checkFlags = [ "-skip=^TestPtexec$" ];

  passthru = {
    tests.version = testers.testVersion { package = termshot; };
    updateScript = nix-update-script { };