summaryrefslogtreecommitdiffstats
path: root/pkgs/rust/enstate
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-11-30 20:11:50 +0000
committertv <tv@krebsco.de>2026-12-01 00:22:40 +0000
commitd2e3f6081739ff793cdda996550751e922ab4497 (patch)
tree8b8c63a8b2a06aea643582d474d35d853d99d289 /pkgs/rust/enstate
parentcc460231e532398037514d138a0ff5a740a47140 (diff)
enstate: build with hrm's crate2nix helper
From the populated source, as the NixOS module, so both are of the same revision; with the source's Cargo.json if it has one, else from its Cargo.lock. The package set gets the inputs for it.
Diffstat (limited to 'pkgs/rust/enstate')
-rw-r--r--pkgs/rust/enstate/default.nix7
1 files changed, 7 insertions, 0 deletions
diff --git a/pkgs/rust/enstate/default.nix b/pkgs/rust/enstate/default.nix
new file mode 100644
index 00000000..9184f217
--- /dev/null
+++ b/pkgs/rust/enstate/default.nix
@@ -0,0 +1,7 @@
+{ cleanCargoSource, inputs }:
+
+{
+ name = "enstate";
+ # The populated source, as for the NixOS module.
+ src = cleanCargoSource "enstate" inputs.enstate;
+}