nixpkgs/pkgs/tools/nix/dnadd/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

25 lines
598 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub }:
2020-10-01 09:35:05 +00:00
stdenv.mkDerivation rec {
pname = "dnadd";
version = "1.0.0";
src = fetchFromGitHub {
owner = "JoeLancaster";
repo = pname;
rev = "v${version}";
sha256 = "1vzbgz8y9gj4lszsx4iczfbrj373sl4wi43j7rp46zfcbw323d4r";
};
strictDeps = true;
2020-10-01 09:35:05 +00:00
makeFlags = [ "PREFIX=$(out)" ];
meta = with lib; {
2020-10-01 09:35:05 +00:00
homepage = "https://github.com/joelancaster/dnadd";
description = "Adds packages declaratively on the command line";
mainProgram = "dnadd";
2020-10-01 09:35:05 +00:00
license = licenses.gpl3Plus;
maintainers = with maintainers; [ joelancaster ];
};
}