WIP: Package cargo-dylint
This commit is contained in:
parent
a154eccfed
commit
05e39da57e
3 changed files with 28 additions and 2 deletions
|
|
@ -1,8 +1,28 @@
|
|||
{
|
||||
inputs,
|
||||
pkgs,
|
||||
craneLib,
|
||||
...
|
||||
}:
|
||||
|
||||
{
|
||||
let
|
||||
pname = "cargo-dylint";
|
||||
version = "4.0.0";
|
||||
|
||||
src = pkgs.fetchFromGitHub {
|
||||
owner = "trailofbits";
|
||||
repo = "dylint";
|
||||
tag = "v${version}";
|
||||
sha256 = "sha256-Z8uuewp7Buoadayc0oTafmfvwNT36KukWKiHxL/mQfI=";
|
||||
};
|
||||
|
||||
cargoArtifacts = craneLib.buildDepsOnly {
|
||||
inherit pname version src;
|
||||
};
|
||||
in craneLib.buildPackage {
|
||||
inherit
|
||||
cargoArtifacts
|
||||
pname
|
||||
version
|
||||
src
|
||||
;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue