diff options
author | Sandro <sandro.jaeckel@gmail.com> | 2020-11-28 04:10:11 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-28 04:10:11 +0100 |
commit | 94454411a7a2c8028c598c5c88f775d9dbf53f2f (patch) | |
tree | 69a55e1a7f83e86e9be4555b1d34378b1766abe0 /pkgs/tools/nix | |
parent | 698111962ec18eff348cf660c01b4bebe945a1ce (diff) | |
parent | 3a5b3ef85e8ef3cf7ecfa3ae7b1823d068e04933 (diff) |
Merge pull request #99248 from JoeLancaster/joelancaster-nixadd-v1_0_0
Diffstat (limited to 'pkgs/tools/nix')
-rw-r--r-- | pkgs/tools/nix/dnadd/default.nix | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/pkgs/tools/nix/dnadd/default.nix b/pkgs/tools/nix/dnadd/default.nix new file mode 100644 index 000000000000..eff99743f1e1 --- /dev/null +++ b/pkgs/tools/nix/dnadd/default.nix @@ -0,0 +1,22 @@ +{ 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 ]; + }; +} |