nixpkgs/pkgs/tools/security/dismember/default.nix
Fabián Heredia Montiel ff323ed355 treewide: vendorSha256 → vendorHash
via: `find pkgs/ -type f -exec sed -i 's/vendorSha256 = "sha256/vendorHash = "sha256/' {};`
2023-09-13 01:03:44 -06:00

26 lines
559 B
Nix

{ lib
, buildGoModule
, fetchFromGitHub
}:
buildGoModule rec {
pname = "dismember";
version = "0.0.1";
src = fetchFromGitHub {
owner = "liamg";
repo = pname;
rev = "refs/tags/v${version}";
hash = "sha256-myoBXoi7VqHOLmu/XrvnlfBDlEnXm+0fp8WQec+3EJY=";
};
vendorHash = "sha256-xxZQz94sr7aSNhmvFWdRtVnS0yk2KQIkAHjwZeJPBwY=";
meta = with lib; {
description = "Tool to scan memory for secrets";
homepage = "https://github.com/liamg/dismember";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}