mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-05 21:33:07 +00:00
35 lines
744 B
Nix
35 lines
744 B
Nix
{
|
|
lib,
|
|
rustPlatform,
|
|
fetchFromGitHub,
|
|
nix-update-script,
|
|
}:
|
|
|
|
let
|
|
version = "0.3.0";
|
|
in
|
|
rustPlatform.buildRustPackage {
|
|
pname = "masklint";
|
|
inherit version;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "brumhard";
|
|
repo = "masklint";
|
|
rev = "v${version}";
|
|
hash = "sha256-Dku2pDUCblopHtoj6viUqHVpVH5GDApp+QLjor38j7g=";
|
|
};
|
|
|
|
cargoHash = "sha256-dbcz66t9fLhFjFkDMQ6VJmKa/lI/x2J7sHbguamA4Pw=";
|
|
|
|
passthru.updateScript = nix-update-script { };
|
|
|
|
meta = {
|
|
description = "Lint your mask targets";
|
|
homepage = "https://github.com/brumhard/masklint";
|
|
license = lib.licenses.mit;
|
|
sourceProvenance = [ lib.sourceTypes.fromSource ];
|
|
maintainers = [ lib.maintainers.pinage404 ];
|
|
mainProgram = "masklint";
|
|
};
|
|
}
|