mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-14 01:33:10 +00:00
755b915a15
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
26 lines
619 B
Nix
26 lines
619 B
Nix
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
buildGoModule rec {
|
|
pname = "dcrctl";
|
|
version = "1.8.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "decred";
|
|
repo = "dcrctl";
|
|
rev = "release-v${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 = with lib.licenses; [ isc ];
|
|
maintainers = with lib.maintainers; [ ];
|
|
mainProgram = "dcrctl";
|
|
};
|
|
}
|