nix/pkgs/just: bump version and build with naersk
naersk doesn't rely on a separate hash as it uses the cargo.lock information.
This commit is contained in:
parent
e07c5e0fb3
commit
92ed9257ef
1 changed files with 16 additions and 14 deletions
|
@ -1,24 +1,26 @@
|
||||||
{ rustPlatform
|
{ rustPlatform
|
||||||
, stdenv
|
, stdenv
|
||||||
|
, fetchFromGitHub
|
||||||
|
, callPackage
|
||||||
|
, bash
|
||||||
}:
|
}:
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
let
|
||||||
name = "just-${version}";
|
naersk = callPackage (import (fetchFromGitHub {
|
||||||
version = "849cdcb37fb42feb5e8724ec9fb3b34027e0da4f";
|
owner = "nmattia";
|
||||||
|
repo = "naersk";
|
||||||
|
rev = "b3b328b088009972e6844f57c97807f6090fa004";
|
||||||
|
sha256 = "152fl2c174zisl2bcky7xspwhc2s8ys2qdv6nvfhqav5x1rbngbp";
|
||||||
|
})) {};
|
||||||
|
|
||||||
|
in
|
||||||
|
naersk.buildPackage rec {
|
||||||
|
version = "5acc112a9749063a554e3626a6055bb88f093468";
|
||||||
|
|
||||||
src = builtins.fetchGit {
|
src = builtins.fetchGit {
|
||||||
url = "https://github.com/casey/just.git";
|
url = "https://github.com/casey/just.git";
|
||||||
rev = version;
|
rev = version;
|
||||||
};
|
};
|
||||||
|
doDoc = false;
|
||||||
cargoSha256 = "0awfq9fhcin2q6mvv54xw6i6pxhdp9xa1cpx3jmpf3a6h8l6s9wp";
|
|
||||||
|
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
|
||||||
description = "Just a command runner ";
|
|
||||||
homepage = https://github.com/casey/just;
|
|
||||||
license = licenses.unlicense;
|
|
||||||
maintainers = [ ];
|
|
||||||
platforms = platforms.all;
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue