op: remove
This commit is contained in:
parent
b072cc395b
commit
93ac3ebaa2
3 changed files with 0 additions and 50 deletions
12
README.md
12
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)
|
||||
|
|
|
@ -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; };
|
||||
|
|
|
@ -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" ];
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue