mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-09-28 10:50:15 +00:00
29 lines
626 B
Nix
29 lines
626 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "dnadd";
|
|
version = "1.0.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "JoeLancaster";
|
|
repo = "dnadd";
|
|
rev = "v${finalAttrs.version}";
|
|
sha256 = "1vzbgz8y9gj4lszsx4iczfbrj373sl4wi43j7rp46zfcbw323d4r";
|
|
};
|
|
|
|
strictDeps = true;
|
|
makeFlags = [ "PREFIX=$(out)" ];
|
|
|
|
meta = {
|
|
homepage = "https://github.com/joelancaster/dnadd";
|
|
description = "Adds packages declaratively on the command line";
|
|
mainProgram = "dnadd";
|
|
license = lib.licenses.gpl3Plus;
|
|
maintainers = with lib.maintainers; [ joelancaster ];
|
|
};
|
|
})
|