about summary refs log tree commit diff
path: root/pkgs/profpatsch/rust-deps.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/profpatsch/rust-deps.nix')
-rw-r--r--pkgs/profpatsch/rust-deps.nix24
1 files changed, 24 insertions, 0 deletions
diff --git a/pkgs/profpatsch/rust-deps.nix b/pkgs/profpatsch/rust-deps.nix
new file mode 100644
index 00000000..d6a52258
--- /dev/null
+++ b/pkgs/profpatsch/rust-deps.nix
@@ -0,0 +1,24 @@
+{ buildRustCrate }:
+
+let
+  libc = buildRustCrate {
+    pname = "libc";
+    version = "0.2.69";
+    crateName = "libc";
+    sha256 = "0fwi6rxklsaqcig432fg3cjamiilvv2c4jz0i3dxw7c33ipprhsz";
+  };
+
+  errno = buildRustCrate {
+    pname = "errno";
+    version = "0.2.5";
+    crateName = "errno";
+    sha256 = "0gd36jijlb17df3ffxqxqczlwdawicbbzqjwfjc4b5lzqgizm0bz";
+    dependencies = [ libc ];
+  };
+
+in {
+  inherit
+    libc
+    errno
+    ;
+}