20 lines
354 B
Nix
20 lines
354 B
Nix
{ lib
|
|
, buildGoModule
|
|
, pkgs
|
|
, fetchFromGitHub
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "cpthook";
|
|
version = "0.7.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "fleaz";
|
|
repo = "CptHook";
|
|
hash = "sha256-SfqybLrTF9TDz4t/zPDojlZngVDxKGLTlNs9T34LfMU=";
|
|
rev = "v${version}";
|
|
};
|
|
|
|
vendorSha256 = "sha256-iKIH36pYK6x5ReCz6wiw5SWoiyMBfmr2K4ToWI/V6xQ=";
|
|
}
|