dotslash: add passthru.updateScript
config
This will allow `update.nix` to handle updates, too. Signed-off-by: Austin Seipp <aseipp@pobox.com> Change-Id: I8eff8e32508ced9061e54e2a478b281340571980
This commit is contained in:
parent
1b0cd9218a
commit
fc8e2a3a76
|
@ -1,4 +1,6 @@
|
||||||
{ lib, rustPlatform, fetchCrate }:
|
{ lib, rustPlatform, fetchCrate
|
||||||
|
, testers, nix-update-script, dotslash
|
||||||
|
}:
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "dotslash";
|
pname = "dotslash";
|
||||||
|
@ -12,6 +14,13 @@ rustPlatform.buildRustPackage rec {
|
||||||
cargoHash = "sha256-WkC+8epqCJWIU1f5kCLsqgGiSvWZH1mbZabQUnGVwB4=";
|
cargoHash = "sha256-WkC+8epqCJWIU1f5kCLsqgGiSvWZH1mbZabQUnGVwB4=";
|
||||||
doCheck = false; # http tests
|
doCheck = false; # http tests
|
||||||
|
|
||||||
|
passthru = {
|
||||||
|
updateScript = nix-update-script { };
|
||||||
|
tests = testers.testVersion {
|
||||||
|
package = dotslash;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://dotslash-cli.com";
|
homepage = "https://dotslash-cli.com";
|
||||||
description = "Simplified multi-platform executable deployment";
|
description = "Simplified multi-platform executable deployment";
|
||||||
|
|
Loading…
Reference in New Issue
Block a user