-
Notifications
You must be signed in to change notification settings - Fork 237
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create Nix package #1899
Comments
I just made the 0.12.0 of atlas package in my NUR, not sure if it works on Windows. |
Had a brief look at this today. The below nix derivation almost works, but As an aside, is there a reason for the slightly odd structure of this repo? As far as I can tell, due to the { lib
, buildGoModule
, fetchFromGitHub
}:
buildGoModule rec {
pname = "atlas";
version = "0.12.0";
src = "${fetchFromGitHub {
owner = "ariga";
repo = "atlas";
rev = "v${version}";
hash = "sha256-BxTgIfqg5AFYvSqf4++wB2SBKEPW1TBC3mb9YpHM0Q4";
}}/cmd/atlas";
vendorHash = lib.fakeHash;
meta = with lib; {
description = "Database schema management and migration tool";
longDescription = ''
Atlas is a language-agnostic tool for managing and migrating
database schemas using modern DevOps principles.
'';
homepage = "https://atlasgo.io";
license = licenses.asl20;
maintainers = with maintainers; [ samw ];
};
} |
You need But the unit tests need something like sed to replace the hardcoded |
Would be great if you add this installation source in the (official) |
This is just a "tracking issue" for the one that was created (who did this? 🤣) in the Nix repository, so you are aware of the progress — if it finally gets picked up.
The text was updated successfully, but these errors were encountered: