about summary refs log tree commit diff
path: root/third_party
diff options
context:
space:
mode:
Diffstat (limited to 'third_party')
-rw-r--r--third_party/naersk/default.nix11
-rw-r--r--third_party/sources/sources.json12
2 files changed, 14 insertions, 9 deletions
diff --git a/third_party/naersk/default.nix b/third_party/naersk/default.nix
index 855e2bd01ba2..bf4c55fe55b3 100644
--- a/third_party/naersk/default.nix
+++ b/third_party/naersk/default.nix
@@ -1,10 +1,3 @@
-{ pkgs, ... }:
+{ depot, pkgs, ... }:
 
-pkgs.callPackage
-  (pkgs.fetchFromGitHub {
-    owner = "nmattia";
-    repo = "naersk";
-    rev = "a3f40fe42cc6d267ff7518fa3199e99ff1444ac4";
-    sha256 = "1nf7fn8anghwf6p5p58ywbcwdkjxq112qv663rn52jq9k95iakdi";
-  })
-{ }
+pkgs.callPackage depot.third_party.sources.naersk { }
diff --git a/third_party/sources/sources.json b/third_party/sources/sources.json
index f5c8754c17b7..064f4250af36 100644
--- a/third_party/sources/sources.json
+++ b/third_party/sources/sources.json
@@ -23,6 +23,18 @@
         "url": "https://github.com/nix-community/emacs-overlay/archive/fd5baf065e1af4cbb9d40eba66971d31f61d6bd1.tar.gz",
         "url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
     },
+    "naersk": {
+        "branch": "master",
+        "description": "Build rust crates in Nix. No configuration, no code generation, no IFD. Sandbox friendly. [maintainer: @Patryk27]",
+        "homepage": "",
+        "owner": "nmattia",
+        "repo": "naersk",
+        "rev": "69daaceebe12c070cd5ae69ba38f277bbf033695",
+        "sha256": "1ip749p9g0prmrwiz0845x9n4j9b39sdrzpi60s4yygy6qgc7262",
+        "type": "tarball",
+        "url": "https://github.com/nmattia/naersk/archive/69daaceebe12c070cd5ae69ba38f277bbf033695.tar.gz",
+        "url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
+    },
     "nixpkgs": {
         "branch": "nixos-unstable",
         "description": "Nix Packages collection",