diff --git a/pkgs/by-name/tr/tridactyl-native/lock.json b/pkgs/by-name/tr/tridactyl-native/lock.json new file mode 100644 index 000000000000..ca4a960bee71 --- /dev/null +++ b/pkgs/by-name/tr/tridactyl-native/lock.json @@ -0,0 +1,16 @@ +{ + "depends": [ + { + "method": "fetchzip", + "packages": [ + "tempfile" + ], + "path": "/nix/store/d0x874ngf02b8fk1xralnvmij7xh0kjc-source", + "ref": "0.1.7", + "rev": "26e0239441755e5edcfd170e9aa566bb9c9eb6f3", + "sha256": "10d1g09q6p554pwr6a3b6ajnwqbphz3a4cwkfa05jbviflfyzjyk", + "srcDir": "", + "url": "https://github.com/OpenSystemsLab/tempfile.nim/archive/26e0239441755e5edcfd170e9aa566bb9c9eb6f3.tar.gz" + } + ] +} diff --git a/pkgs/tools/networking/tridactyl-native/default.nix b/pkgs/by-name/tr/tridactyl-native/package.nix similarity index 86% rename from pkgs/tools/networking/tridactyl-native/default.nix rename to pkgs/by-name/tr/tridactyl-native/package.nix index 91043caa4354..af5cbe191126 100644 --- a/pkgs/tools/networking/tridactyl-native/default.nix +++ b/pkgs/by-name/tr/tridactyl-native/package.nix @@ -1,6 +1,6 @@ -{ lib, nimPackages, fetchFromGitHub }: +{ lib, buildNimPackage, fetchFromGitHub }: -nimPackages.buildNimPackage rec { +buildNimPackage { pname = "tridactyl-native"; version = "0.3.7"; @@ -10,7 +10,8 @@ nimPackages.buildNimPackage rec { rev = "62f19dba573b924703829847feb1bfee68885514"; sha256 = "sha256-YGDVcfFcI9cRCCZ4BrO5xTuI9mrGq1lfbEITB7o3vQQ="; }; - buildInputs = with nimPackages; [ tempfile ]; + + lockFile = ./lock.json; installPhase = '' mkdir -p "$out/lib/mozilla/native-messaging-hosts" diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 106ef5b89edd..44b86bba3a4d 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -7832,8 +7832,6 @@ with pkgs; tracy = callPackage ../development/tools/tracy { }; - tridactyl-native = callPackage ../tools/networking/tridactyl-native { }; - trivy = callPackage ../tools/admin/trivy { }; trompeloeil = callPackage ../development/libraries/trompeloeil { };