about summary refs log tree commit diff
path: root/third_party
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2022-05-25T20·32+0200
committerclbot <clbot@tvl.fyi>2022-05-26T00·00+0000
commit6a17cf232d5a13b3ec96b0dd0320d8c6858c35a5 (patch)
tree112398e2235be940311f8f2a35aecd6f0c2d36ed /third_party
parente3a31b702a18423c825dc647211b2ae586ca8333 (diff)
chore(3p/naersk): Bump and fetch via niv instead r/4119
Change-Id: Icae69a1170e06f61aea5494963913c7278f18dce
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5669
Tested-by: BuildkiteCI
Autosubmit: tazjin <tazjin@tvl.su>
Reviewed-by: sterni <sternenseemann@systemli.org>
Reviewed-by: grfn <grfn@gws.fyi>
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",