update: packages: cargo-shuttle: _ -> 0.44.0

This commit is contained in:
L-Nafaryus 2024-04-23 14:52:51 +05:00
parent 3176df8948
commit b4354b150c
Signed by: L-Nafaryus
GPG Key ID: 582F8B0866B294A1
2 changed files with 12 additions and 9 deletions

View File

@ -3,16 +3,15 @@
crane-lib, crane-lib,
lib, lib,
pkgs, pkgs,
fetchFromGitHub, version ? "v0.44.0",
version ? "v0.43.0", hash ? "sha256-3u2GWgDQpa4sU/66vS6S+JwCEL/fvy8MTsATRs7RGVs=",
hash ? "sha256-wMtB7oWcbLQ3E0R6b2QbEHSeOYwZgeUuiwJlL8W9wlI=",
... ...
}: }:
crane-lib.buildPackage { let pkg = {
pname = "cargo-shuttle"; pname = "cargo-shuttle";
inherit version; inherit version;
src = fetchFromGitHub { src = pkgs.fetchFromGitHub {
owner = "shuttle-hq"; owner = "shuttle-hq";
repo = "shuttle"; repo = "shuttle";
rev = version; rev = version;
@ -20,6 +19,7 @@ crane-lib.buildPackage {
}; };
strictDeps = true; strictDeps = true;
doCheck = false;
nativeBuildInputs = with pkgs; [ nativeBuildInputs = with pkgs; [
pkg-config pkg-config
@ -35,6 +35,9 @@ crane-lib.buildPackage {
license = licenses.asl20; license = licenses.asl20;
homepage = "https://shuttle.rs/"; homepage = "https://shuttle.rs/";
maintainers = with bonfire.lib.maintainers; [ L-Nafaryus ]; maintainers = with bonfire.lib.maintainers; [ L-Nafaryus ];
broken = true;
}; };
} };
in let artifacts = crane-lib.buildDepsOnly pkg;
in crane-lib.buildPackage (
pkg // { inherit artifacts; }
)

View File

@ -15,9 +15,9 @@ in forAllSystems(system:
crane = self.inputs.crane; crane = self.inputs.crane;
crane-lib = self.inputs.crane.lib.${system}; crane-lib = self.inputs.crane.lib.${system};
in {
example = pkgs.callPackage ./example { inherit bonfire; }; fenix = self.inputs.fenix;
in {
netgen = pkgs.callPackage ./netgen { inherit bonfire; }; netgen = pkgs.callPackage ./netgen { inherit bonfire; };