First package ?
This commit is contained in:
parent
432a551da4
commit
6feea9dbc0
22
modules/NoRiskClient/default.nix
Normal file
22
modules/NoRiskClient/default.nix
Normal file
|
@ -0,0 +1,22 @@
|
|||
{ stdenv, lib, buildGoModule, fetchFromGitHub }:
|
||||
|
||||
buildGoModule rec { pname = "noriskclient-launcher"; version = "0.5.6";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "NoRiskClient";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-qyFuspRcBNyf8eBPlNc9hHMSrJ7G1vQwI0CJP9eFQKY=";
|
||||
};
|
||||
|
||||
vendorHash = null;
|
||||
|
||||
doCheck = false;
|
||||
|
||||
meta = with lib; {
|
||||
description = "No Risk Client";
|
||||
homepage = "https://github.com/github-owner/${pname}";
|
||||
license = licenses.gpl3;
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
1
modules/NoRiskClient/result
Symbolic link
1
modules/NoRiskClient/result
Symbolic link
|
@ -0,0 +1 @@
|
|||
/nix/store/sblh9mq6dwkd69h8hg4a8m0hvqc4hpx5-noriskclient-launcher-0.5.6
|
|
@ -1,8 +1,13 @@
|
|||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
nixpkgs.config.packageOverrides = pkgs: {
|
||||
noriskclient-launcher = pkgs.callPackage ./../NoRiskClient/default.nix { };
|
||||
};
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
#hackerman
|
||||
noriskclient-launcher
|
||||
fastfetch
|
||||
cmatrix
|
||||
cava
|
||||
|
|
Loading…
Reference in a new issue