nix: bump just and add to common profile
This commit is contained in:
parent
b3d3c8b086
commit
ef8d63c80e
3 changed files with 29 additions and 21 deletions
|
@ -25,6 +25,8 @@ in {
|
||||||
dropbearStatic = dropbear.override {
|
dropbearStatic = dropbear.override {
|
||||||
enableStatic = true;
|
enableStatic = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
just = pkgs.callPackage ../../pkgs/just.nix {};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -58,5 +60,7 @@ in {
|
||||||
cacert
|
cacert
|
||||||
openssl
|
openssl
|
||||||
mkpasswd
|
mkpasswd
|
||||||
|
|
||||||
|
just
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
|
24
nix/pkgs/just.nix
Normal file
24
nix/pkgs/just.nix
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
{ rustPlatform
|
||||||
|
, stdenv
|
||||||
|
}:
|
||||||
|
|
||||||
|
rustPlatform.buildRustPackage rec {
|
||||||
|
name = "just-${version}";
|
||||||
|
version = "849cdcb37fb42feb5e8724ec9fb3b34027e0da4f";
|
||||||
|
src = builtins.fetchGit {
|
||||||
|
url = "https://github.com/casey/just.git";
|
||||||
|
rev = version;
|
||||||
|
};
|
||||||
|
|
||||||
|
cargoSha256 = "0awfq9fhcin2q6mvv54xw6i6pxhdp9xa1cpx3jmpf3a6h8l6s9wp";
|
||||||
|
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "Just a command runner ";
|
||||||
|
homepage = https://github.com/casey/just;
|
||||||
|
license = licenses.unlicense;
|
||||||
|
maintainers = [ ];
|
||||||
|
platforms = platforms.all;
|
||||||
|
};
|
||||||
|
}
|
22
shell.nix
22
shell.nix
|
@ -1,32 +1,12 @@
|
||||||
with import <nixpkgs> {};
|
with import <nixpkgs> {};
|
||||||
|
|
||||||
let
|
let
|
||||||
just = rustPlatform.buildRustPackage rec {
|
|
||||||
name = "just-${version}";
|
|
||||||
version = "git";
|
|
||||||
src = builtins.fetchGit {
|
|
||||||
url = "https://github.com/casey/just.git";
|
|
||||||
rev = "6430d38a6a489ba4e818b6a892e8bbbbacbfe8f3";
|
|
||||||
};
|
|
||||||
|
|
||||||
cargoSha256 = "0awfq9fhcin2q6mvv54xw6i6pxhdp9xa1cpx3jmpf3a6h8l6s9wp";
|
|
||||||
|
|
||||||
doCheck = false;
|
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
|
||||||
description = "Just a command runner ";
|
|
||||||
homepage = https://github.com/casey/just;
|
|
||||||
license = licenses.unlicense;
|
|
||||||
maintainers = [ ];
|
|
||||||
platforms = platforms.all;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
in
|
in
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "infra-env";
|
name = "infra-env";
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
just
|
(pkgs.callPackage ./nix/pkgs/just.nix {})
|
||||||
git-crypt
|
git-crypt
|
||||||
vcsh
|
vcsh
|
||||||
gnupg
|
gnupg
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue