initial commit
All checks were successful
Hydra mit-hook-test-helper Hydra build #1572 of dark-kirb:rust-binaries:mit-hook-test-helper
Hydra git-mit-install Hydra build #1573 of dark-kirb:rust-binaries:git-mit-install
Hydra git-mit Hydra build #1574 of dark-kirb:rust-binaries:git-mit
Hydra mit-commit-msg Hydra build #1567 of dark-kirb:rust-binaries:mit-commit-msg
Hydra mit-prepare-commit-msg Hydra build #1566 of dark-kirb:rust-binaries:mit-prepare-commit-msg
Hydra mit-commit-message-lints Hydra build #1571 of dark-kirb:rust-binaries:mit-commit-message-lints
Hydra mit-pre-commit Hydra build #1568 of dark-kirb:rust-binaries:mit-pre-commit
Hydra git-mit-config Hydra build #1569 of dark-kirb:rust-binaries:git-mit-config
Hydra git-mit-relates-to Hydra build #1570 of dark-kirb:rust-binaries:git-mit-relates-to
All checks were successful
Hydra mit-hook-test-helper Hydra build #1572 of dark-kirb:rust-binaries:mit-hook-test-helper
Hydra git-mit-install Hydra build #1573 of dark-kirb:rust-binaries:git-mit-install
Hydra git-mit Hydra build #1574 of dark-kirb:rust-binaries:git-mit
Hydra mit-commit-msg Hydra build #1567 of dark-kirb:rust-binaries:mit-commit-msg
Hydra mit-prepare-commit-msg Hydra build #1566 of dark-kirb:rust-binaries:mit-prepare-commit-msg
Hydra mit-commit-message-lints Hydra build #1571 of dark-kirb:rust-binaries:mit-commit-message-lints
Hydra mit-pre-commit Hydra build #1568 of dark-kirb:rust-binaries:mit-pre-commit
Hydra git-mit-config Hydra build #1569 of dark-kirb:rust-binaries:git-mit-config
Hydra git-mit-relates-to Hydra build #1570 of dark-kirb:rust-binaries:git-mit-relates-to
This commit is contained in:
commit
34c1240c31
3 changed files with 3474 additions and 0 deletions
94
flake.lock
Normal file
94
flake.lock
Normal file
|
@ -0,0 +1,94 @@
|
||||||
|
{
|
||||||
|
"nodes": {
|
||||||
|
"cargo2nix": {
|
||||||
|
"inputs": {
|
||||||
|
"flake-utils": [
|
||||||
|
"flake-utils"
|
||||||
|
],
|
||||||
|
"nixpkgs": [
|
||||||
|
"nixpkgs"
|
||||||
|
],
|
||||||
|
"rust-overlay": [
|
||||||
|
"rust-overlay"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1641856772,
|
||||||
|
"narHash": "sha256-BKBv6fnNM+8z3uoNu64vBpP/TML0rR4QxPIpHykk6cQ=",
|
||||||
|
"owner": "cargo2nix",
|
||||||
|
"repo": "cargo2nix",
|
||||||
|
"rev": "97cacfbea62fb34a819c659e67a0de3bc01d1ef5",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "cargo2nix",
|
||||||
|
"ref": "be-friendly-to-users",
|
||||||
|
"repo": "cargo2nix",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"flake-utils": {
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1644229661,
|
||||||
|
"narHash": "sha256-1YdnJAsNy69bpcjuoKdOYQX0YxZBiCYZo4Twxerqv7k=",
|
||||||
|
"owner": "numtide",
|
||||||
|
"repo": "flake-utils",
|
||||||
|
"rev": "3cecb5b042f7f209c56ffd8371b2711a290ec797",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "numtide",
|
||||||
|
"repo": "flake-utils",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"nixpkgs": {
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1646512003,
|
||||||
|
"narHash": "sha256-JMeHfHn3+TErHApdjLnk/f5daU86p4QRDn3eljorru4=",
|
||||||
|
"owner": "NixOS",
|
||||||
|
"repo": "nixpkgs",
|
||||||
|
"rev": "c45608c6cc881ab47cec27e3aa889de9a90db394",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "NixOS",
|
||||||
|
"repo": "nixpkgs",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"root": {
|
||||||
|
"inputs": {
|
||||||
|
"cargo2nix": "cargo2nix",
|
||||||
|
"flake-utils": "flake-utils",
|
||||||
|
"nixpkgs": "nixpkgs",
|
||||||
|
"rust-overlay": "rust-overlay"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"rust-overlay": {
|
||||||
|
"inputs": {
|
||||||
|
"flake-utils": [
|
||||||
|
"flake-utils"
|
||||||
|
],
|
||||||
|
"nixpkgs": [
|
||||||
|
"nixpkgs"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1646447076,
|
||||||
|
"narHash": "sha256-iGA3OueLeVPjyFM6LjDK1wIIci1DwsLh7CUCRc1qRbA=",
|
||||||
|
"owner": "oxalica",
|
||||||
|
"repo": "rust-overlay",
|
||||||
|
"rev": "6923045c7b80aba6c81fe3eca7824a20c8724c0f",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "oxalica",
|
||||||
|
"repo": "rust-overlay",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"root": "root",
|
||||||
|
"version": 7
|
||||||
|
}
|
38
flake.nix
Normal file
38
flake.nix
Normal file
|
@ -0,0 +1,38 @@
|
||||||
|
{
|
||||||
|
description = "rust binaries";
|
||||||
|
|
||||||
|
inputs = {
|
||||||
|
nixpkgs.url = github:NixOS/nixpkgs;
|
||||||
|
flake-utils.url = github:numtide/flake-utils;
|
||||||
|
rust-overlay.url = github:oxalica/rust-overlay;
|
||||||
|
rust-overlay.inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
rust-overlay.inputs.flake-utils.follows = "flake-utils";
|
||||||
|
cargo2nix.url = github:cargo2nix/cargo2nix/be-friendly-to-users;
|
||||||
|
cargo2nix.inputs.rust-overlay.follows = "rust-overlay";
|
||||||
|
cargo2nix.inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
cargo2nix.inputs.flake-utils.follows = "flake-utils";
|
||||||
|
};
|
||||||
|
|
||||||
|
outputs = { self, nixpkgs, flake-utils, rust-overlay, cargo2nix, ... } @ args: flake-utils.lib.eachDefaultSystem (system:
|
||||||
|
let
|
||||||
|
overlays = [ cargo2nix.overlay ];
|
||||||
|
pkgs = import nixpkgs {
|
||||||
|
inherit system overlays;
|
||||||
|
};
|
||||||
|
git-mit = pkgs.rustBuilder.makePackageSet' {
|
||||||
|
packageFun = import ./git-mit/Cargo.nix;
|
||||||
|
workspaceSrc = pkgs.fetchFromGitHub {
|
||||||
|
owner = "PurpleBooth";
|
||||||
|
repo = "git-mit";
|
||||||
|
rev = "0aa22b8e2baafc392c9b6d7a01cc1806f09e2194";
|
||||||
|
sha256 = "059hkl0xm818ahr829g8f2hn8c4x2ilhbbq6v21ycf9r3hyj65ld";
|
||||||
|
};
|
||||||
|
packageOverrides = pkgs: pkgs.rustBuilder.overrides.all;
|
||||||
|
rustChannel = "1.59.0";
|
||||||
|
};
|
||||||
|
in
|
||||||
|
rec {
|
||||||
|
packages = git-mit.workspace;
|
||||||
|
hydraJobs = packages;
|
||||||
|
});
|
||||||
|
}
|
3342
git-mit/Cargo.nix
Normal file
3342
git-mit/Cargo.nix
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue