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

23 lines
552 B
Nix
Raw Normal View History

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