mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 00:12:56 +00:00
masklint: init at 0.3.0
This commit is contained in:
parent
fec2cc3727
commit
8d0814b110
30
pkgs/by-name/ma/masklint/package.nix
Normal file
30
pkgs/by-name/ma/masklint/package.nix
Normal file
@ -0,0 +1,30 @@
|
||||
{
|
||||
lib,
|
||||
rustPlatform,
|
||||
fetchFromGitHub,
|
||||
}:
|
||||
|
||||
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=";
|
||||
|
||||
meta = {
|
||||
description = "Lint your mask targets";
|
||||
homepage = "https://github.com/brumhard/masklint";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = [ lib.maintainers.pinage404 ];
|
||||
mainProgram = "masklint";
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user