Unverified Commit 1065c759 authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

Merge pull request #305342 from r-ryantm/auto-update/pwdsafety

pwdsafety: 0.3 -> 0.4.0
parents cd7e5cfd af7a6507
Loading
Loading
Loading
Loading
+16 −9
Original line number Diff line number Diff line
{ lib
, buildGoModule
, fetchFromGitHub
{
  lib,
  buildGoModule,
  fetchFromGitHub,
}:

buildGoModule rec {
  pname = "pwdsafety";
  version = "0.3";
  version = "0.4.0";

  src = fetchFromGitHub {
    owner = "edoardottt";
    repo = pname;
    rev = "v${version}";
    hash = "sha256-ryMLiehJVZhQ3ZQf4/g7ILeJri78A6z5jfell0pD9E8=";
    repo = "pwdsafety";
    rev = "refs/tags/v${version}";
    hash = "sha256-cKxTcfNjvwcDEw0Z1b50A4u0DUYXlGMMfGWJLPaSkcw=";
  };

  vendorHash = "sha256-b+tWTQUyYDzY2O28hwy5vI6b6S889TCiVh7hQhw/KAc=";
  vendorHash = "sha256-RoRq9JZ8lOMtAluz8TB2RRuDEWFOBtWVhz21aTkXXy4=";

  ldflags = [
    "-w"
    "-s"
  ];

  meta = with lib; {
    description = "Command line tool checking password safety";
    mainProgram = "cmd";
    homepage = "https://github.com/edoardottt/pwdsafety";
    changelog = "https://github.com/edoardottt/pwdsafety/releases/tag/v${version}";
    license = with licenses; [ gpl3Plus ];
    maintainers = with maintainers; [ fab ];
    mainProgram = "pwdsafety";
  };
}