about summary refs log tree commit diff
path: root/pkgs/tools/nix/dnadd/default.nix
blob: 59a0516629e1ae2f31be2f0298517478dca52b52 (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
{ lib, stdenv, fetchFromGitHub }:

stdenv.mkDerivation rec {
  pname = "dnadd";
  version = "1.0.0";

  src = fetchFromGitHub {
    owner = "JoeLancaster";
    repo = pname;
    rev = "v${version}";
    sha256 = "1vzbgz8y9gj4lszsx4iczfbrj373sl4wi43j7rp46zfcbw323d4r";
  };

  strictDeps = true;
  makeFlags = [ "PREFIX=$(out)" ];

  meta = with lib; {
    homepage = "https://github.com/joelancaster/dnadd";
    description = "Adds packages declaratively on the command line";
    license = licenses.gpl3Plus;
    maintainers = with maintainers; [ joelancaster ];
  };
}