Skip to content

Commit

Permalink
atlas: init at 0.9.0
Browse files Browse the repository at this point in the history
  • Loading branch information
dit7ya committed Feb 10, 2023
1 parent f0609d6 commit 0c10970
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 0 deletions.
38 changes: 38 additions & 0 deletions pkgs/development/tools/database/atlas/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
{ lib
, buildGoModule
, fetchFromGitHub
, git
}:

buildGoModule rec {
pname = "atlas";
version = "0.9.0";

src = fetchFromGitHub {
owner = "ariga";
repo = pname;
rev = "v${version}";
hash = "sha256-4IDVsy4CseIiORaC8O72mcHp4w1YHUZfe0xoaxHRQTs=";
};

proxyVendor = true;
vendorHash = "sha256-7+AVDNzydyFO+RmQfybpG6RSU+4qrf/1IEYOSWRBl7Y=";

ldflags = [
"-s"
"-w"
"-X ariga.io/atlas/cmd/atlas/internal/cmdapi.version=v${version}"
];

# subPackages = [ "cmd/atlas"] does not work
modRoot = "cmd/atlas";

nativeCheckInputs = [ git ];

meta = with lib; {
description = "An open source tool that helps developers manage their database schemas by applying modern DevOps principles";
homepage = "https://atlasgo.io";
license = licenses.asl20;
maintainers = with maintainers; [ dit7ya ];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -23485,6 +23485,8 @@ with pkgs;

asterisk-module-sccp = callPackage ../servers/asterisk/sccp { };

atlas = callPackage ../development/tools/database/atlas { };

sabnzbd = callPackage ../servers/sabnzbd { };

baserow = callPackage ../servers/baserow { };
Expand Down

0 comments on commit 0c10970

Please sign in to comment.