Skip to content

Commit

Permalink
transformer: relax dependency constraints
Browse files Browse the repository at this point in the history
  • Loading branch information
nikstur committed Feb 29, 2024
1 parent c52ab04 commit b0c43c4
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 37 deletions.
31 changes: 6 additions & 25 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 6 additions & 5 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -22,20 +22,21 @@
inputs.nixpkgs-lib.follows = "nixpkgs";
};

gitignore = {
url = "github:hercules-ci/gitignore.nix";
inputs.nixpkgs.follows = "nixpkgs";
};

pre-commit-hooks-nix = {
url = "github:cachix/pre-commit-hooks.nix";
inputs = {
nixpkgs.follows = "nixpkgs";
gitignore.follows = "gitignore";
flake-utils.follows = "flake-utils";
flake-compat.follows = "flake-compat";
};
};

gitignore = {
url = "github:hercules-ci/gitignore.nix";
inputs.nixpkgs.follows = "nixpkgs";
};

};

outputs = inputs@{ self, flake-parts, systems, ... }: flake-parts.lib.mkFlake { inherit inputs; } {
Expand Down
2 changes: 1 addition & 1 deletion nix/packages/transformer.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

rustPlatform.buildRustPackage {
pname = "bombon-transformer";
version = "0.1.0";
version = (builtins.fromTOML (builtins.readFile ../../rust/transformer/Cargo.toml)).package.version;

src = gitignoreSource ../../rust/transformer;

Expand Down
12 changes: 6 additions & 6 deletions rust/transformer/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
anyhow = "1.0.79"
clap = { version = "4.4.18", features = ["derive"] }
cyclonedx-bom = "0.4.3"
itertools = "0.12.1"
serde = { version = "1.0.196", features = [ "derive" ] }
serde_json = "1.0.113"
anyhow = "1.0"
clap = { version = "4.4", features = ["derive"] }
cyclonedx-bom = "0.4"
itertools = "0.12"
serde = { version = "1.0", features = [ "derive" ] }
serde_json = "1.0"

0 comments on commit b0c43c4

Please sign in to comment.