From 93ac3ebaa21f12475d554eadc5bd17d618f3ac3f Mon Sep 17 00:00:00 2001 From: Daniel Kempkens Date: Wed, 28 Feb 2024 10:38:06 +0100 Subject: [PATCH] op: remove --- README.md | 12 ------------ flake.nix | 1 - packages/agilebits-op.nix | 37 ------------------------------------- 3 files changed, 50 deletions(-) delete mode 100644 packages/agilebits-op.nix diff --git a/README.md b/README.md index 21fae56..9e82173 100644 --- a/README.md +++ b/README.md @@ -1,13 +1 @@ # Personal [nixpkgs](https://github.com/NixOS/nixpkgs) Overlay - -## Software - -* [agilebits-op](https://app-updates.agilebits.com/product_history/CLI2) -* [AnonymousOverflow](https://github.com/httpjamesm/AnonymousOverflow) -* [cliclick](https://github.com/BlueM/cliclick) -* [fennel-ls](https://git.sr.ht/~xerool/fennel-ls) -* [lexical](https://github.com/lexical-lsp/lexical) -* [phantomjs](https://github.com/ariya/phantomjs) -* [q](https://github.com/natesales/q) -* [rimgo](https://codeberg.org/video-prize-ranch/rimgo) -* [VueTorrent](https://github.com/WDaan/VueTorrent) diff --git a/flake.nix b/flake.nix index 8f8fdde..89ea24b 100644 --- a/flake.nix +++ b/flake.nix @@ -29,7 +29,6 @@ let darwinPackages = if lib.hasSuffix "darwin" system then rec { - agilebits-op = import ./packages/agilebits-op.nix { inherit pkgs lib; }; cliclick = import ./packages/cliclick.nix { inherit pkgs lib; }; phantomjs = import ./packages/phantomjs.nix { inherit pkgs lib; }; tabnine = import ./packages/tabnine { inherit pkgs lib; }; diff --git a/packages/agilebits-op.nix b/packages/agilebits-op.nix deleted file mode 100644 index 122e743..0000000 --- a/packages/agilebits-op.nix +++ /dev/null @@ -1,37 +0,0 @@ -{ pkgs, lib }: - -pkgs.stdenv.mkDerivation rec { - pname = "agilebits-op"; - version = "2.25.0"; - - src = pkgs.fetchurl { - url = "https://cache.agilebits.com/dist/1P/op2/pkg/v${version}/op_apple_universal_v${version}.pkg"; - hash = "sha256-JO7Hh8PUnW5D3GCJFPcVfIYXzHV6HkckqFnGK9vH7Qs="; - }; - - buildInputs = with pkgs; [ xar cpio ]; - - unpackPhase = '' - xar -xf $src - zcat op.pkg/Payload | cpio -i - ''; - - dontStrip = true; - - installPhase = '' - install -D op $out/bin/op - ''; - - doInstallCheck = true; - - installCheckPhase = '' - $out/bin/op --version - ''; - - meta = with lib; { - description = "1Password command-line tool"; - homepage = "https://developer.1password.com/docs/cli"; - #license = licenses.unfree; - platforms = [ "x86_64-darwin" "aarch64-darwin" ]; - }; -}