nix: bump just and add to common profile

This commit is contained in:
steveej 2018-11-10 11:29:42 +01:00
parent b3d3c8b086
commit ef8d63c80e
3 changed files with 29 additions and 21 deletions

View file

@ -25,6 +25,8 @@ in {
dropbearStatic = dropbear.override {
enableStatic = true;
};
just = pkgs.callPackage ../../pkgs/just.nix {};
};
};
@ -58,5 +60,7 @@ in {
cacert
openssl
mkpasswd
just
]);
}

24
nix/pkgs/just.nix Normal file
View 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;
};
}