summary refs log tree commit diff
diff options
context:
space:
mode:
authorAaron Jheng <wentworth@outlook.com>2022-01-30 06:37:18 +0000
committerAaron Jheng <wentworth@outlook.com>2022-02-20 01:29:41 +0000
commit223f5872f8e391ec7e4c8e3b17d879c58542ed22 (patch)
treee945496a918e457b0fc06382fff434d02d302a07
parent4f2404dedb8dc6984c028b9d56ea5c1b1061ca02 (diff)
downloadnixpkgs-223f5872f8e391ec7e4c8e3b17d879c58542ed22.tar
nixpkgs-223f5872f8e391ec7e4c8e3b17d879c58542ed22.tar.gz
nixpkgs-223f5872f8e391ec7e4c8e3b17d879c58542ed22.tar.bz2
nixpkgs-223f5872f8e391ec7e4c8e3b17d879c58542ed22.tar.lz
nixpkgs-223f5872f8e391ec7e4c8e3b17d879c58542ed22.tar.xz
nixpkgs-223f5872f8e391ec7e4c8e3b17d879c58542ed22.tar.zst
nixpkgs-223f5872f8e391ec7e4c8e3b17d879c58542ed22.zip
skeema: init at 1.7.0
-rw-r--r--pkgs/tools/system/skeema/default.nix28
-rw-r--r--pkgs/top-level/all-packages.nix2
2 files changed, 30 insertions, 0 deletions
diff --git a/pkgs/tools/system/skeema/default.nix b/pkgs/tools/system/skeema/default.nix
new file mode 100644
index 00000000000..0b6bf003e5b
--- /dev/null
+++ b/pkgs/tools/system/skeema/default.nix
@@ -0,0 +1,28 @@
+{ lib, buildGoModule, fetchFromGitHub }:
+
+buildGoModule rec {
+  pname = "skeema";
+  version = "1.7.0";
+
+  src = fetchFromGitHub {
+    owner = "skeema";
+    repo = "skeema";
+    rev = "v${version}";
+    sha256 = "1a75vixrpidim641809nj931r73zvbj2rsls7d80z7w87maav51m";
+  };
+
+  vendorSha256 = null;
+
+  CGO_ENABLED = 0;
+
+  ldflags = [ "-s" "-w" ];
+
+  checkFlags = [ "-short" ];
+
+  meta = with lib; {
+    description = "Declarative pure-SQL schema management for MySQL and MariaDB";
+    homepage = "https://skeema.io/";
+    license = licenses.asl20;
+    maintainers = with maintainers; [ aaronjheng ];
+  };
+}
diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix
index 729d3ecfc4d..d09ea639130 100644
--- a/pkgs/top-level/all-packages.nix
+++ b/pkgs/top-level/all-packages.nix
@@ -3758,6 +3758,8 @@ with pkgs;
 
   syscall_limiter = callPackage ../os-specific/linux/syscall_limiter {};
 
+  skeema = callPackage ../tools/system/skeema {};
+
   syslogng = callPackage ../tools/system/syslog-ng { };
 
   syslogng_incubator = callPackage ../tools/system/syslog-ng-incubator { };