about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/tools/nap/default.nix
blob: fdc585fd5e18216803f333ae27b7abaa76383aff (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{ lib, buildGoModule, fetchFromGitHub, callPackage }:

buildGoModule rec {
  pname = "nap";
  version = "0.1.1";

  src = fetchFromGitHub {
    owner = "maaslalani";
    repo = pname;
    rev = "v${version}";
    sha256 = "0b3sz8zp1nwcjl02b3lli5yjc7vfay1ig6fs8bgxwz22imfx076p";
  };

  vendorHash = "sha256-puCqql77kvdWTcwp8z6LExBt/HbNRNe0f+wtM0kLoWM=";

  excludedPackages = ".nap";

  meta = {
    description = "Code snippets in your terminal 🛌";
    homepage = "https://github.com/maaslalani/nap";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ phdcybersec maaslalani ];
  };
}