mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-02 13:00:23 +00:00
33 lines
625 B
Nix
33 lines
625 B
Nix
{
|
|
lib,
|
|
buildGoModule,
|
|
fetchFromGitHub,
|
|
}:
|
|
|
|
buildGoModule (finalAttrs: {
|
|
pname = "dcrctl";
|
|
version = "1.8.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "decred";
|
|
repo = "dcrctl";
|
|
rev = "release-v${finalAttrs.version}";
|
|
hash = "sha256-Nm1r3hHTlW5ob2CLKUgMjVsdzR2gxlFuT6Q3j0pPDSg=";
|
|
};
|
|
|
|
vendorHash = "sha256-Ry3wR2u+vr97icP9jwAVWcFO98JVDo9TrDg9D8hfv5I=";
|
|
|
|
ldflags = [
|
|
"-s"
|
|
"-w"
|
|
];
|
|
|
|
meta = {
|
|
homepage = "https://decred.org";
|
|
description = "Secure Decred wallet daemon written in Go (golang)";
|
|
license = lib.licenses.isc;
|
|
maintainers = [ ];
|
|
mainProgram = "dcrctl";
|
|
};
|
|
})
|