diff options
author | figsoda <figsoda@pm.me> | 2023-07-07 15:06:00 -0400 |
---|---|---|
committer | figsoda <figsoda@pm.me> | 2023-07-07 16:13:32 -0400 |
commit | 8dbe1964538db05fc9a14d2936556a644b2c7957 (patch) | |
tree | bae5b58332321b101b3076eed8167e8764f09a09 /pkgs/applications/version-management/gql | |
parent | 3e6ad28b4b9a79dbdac0276211d83986107fb971 (diff) |
gql: 0.2.0 -> 0.3.0
Diff: https://github.com/AmrDeveloper/GQL/compare/0.2.0...0.3.0 Changelog: https://github.com/AmrDeveloper/GQL/releases/tag/0.3.0
Diffstat (limited to 'pkgs/applications/version-management/gql')
-rw-r--r-- | pkgs/applications/version-management/gql/default.nix | 22 |
1 files changed, 4 insertions, 18 deletions
diff --git a/pkgs/applications/version-management/gql/default.nix b/pkgs/applications/version-management/gql/default.nix index 6329b08beef4b..1d2fae7b910c2 100644 --- a/pkgs/applications/version-management/gql/default.nix +++ b/pkgs/applications/version-management/gql/default.nix @@ -3,24 +3,21 @@ , fetchFromGitHub , pkg-config , libgit2 -, openssl , zlib -, stdenv -, darwin }: rustPlatform.buildRustPackage rec { pname = "gql"; - version = "0.2.0"; + version = "0.3.0"; src = fetchFromGitHub { owner = "AmrDeveloper"; repo = "GQL"; rev = version; - hash = "sha256-3x4ExSEs22wFP4Z5cY9+F8yyVc5voHAT1odnyzkSlhc="; + hash = "sha256-n0v7Mvs7JL3YRsNov4/beoUAW8B4oKjDiRa3QY65V/o="; }; - cargoHash = "sha256-Xmf64yRyWrqYO/ydxEblChVPKnR47Uc55FVAY3DU7no="; + cargoHash = "sha256-dDjx84LPV3BHMzqyhJW73Z+0R4DlPsHhRlG62HGNxjI="; nativeBuildInputs = [ pkg-config @@ -28,26 +25,15 @@ rustPlatform.buildRustPackage rec { buildInputs = [ libgit2 - openssl zlib - ] ++ lib.optionals stdenv.isDarwin [ - darwin.apple_sdk.frameworks.Security ]; - env = { - OPENSSL_NO_VENDOR = true; - }; - - # Cargo.lock is outdated - preConfigure = '' - cargo metadata --offline - ''; - meta = with lib; { description = "A SQL like query language to perform queries on .git files"; homepage = "https://github.com/AmrDeveloper/GQL"; changelog = "https://github.com/AmrDeveloper/GQL/releases/tag/${src.rev}"; license = licenses.mit; maintainers = with maintainers; [ figsoda ]; + mainProgram = "gitql"; }; } |