Unverified Commit 61183015 authored by Christoph Heiss's avatar Christoph Heiss
Browse files

yarr: 2.4 -> 2.5

parent 1ec9dbf3
Loading
Loading
Loading
Loading
+3 −8
Original line number Diff line number Diff line
@@ -8,19 +8,17 @@

buildGoModule rec {
  pname = "yarr";
  version = "2.4";
  version = "2.5";

  src = fetchFromGitHub {
    owner = "nkanaev";
    repo = "yarr";
    rev = "v${version}";
    hash = "sha256-ZMQ+IX8dZuxyxQhD/eWAe4bGGCVcaCeVgF+Wqs79G+k=";
    hash = "sha256-yII0KV4AKIS1Tfhvj588O631JDArnr0/30rNynTSwzk=";
  };

  vendorHash = null;

  subPackages = [ "src" ];

  ldflags = [
    "-s"
    "-w"
@@ -30,12 +28,9 @@ buildGoModule rec {

  tags = [
    "sqlite_foreign_keys"
    "release"
    "sqlite_json"
  ];

  postInstall = ''
    mv $out/bin/{src,yarr}
  '';

  passthru.tests.version = testers.testVersion {
    package = yarr;