mirror of
https://github.com/traxys/Nixfiles.git
synced 2026-05-14 14:55:05 +02:00
pkgs: Add ctcache
This commit is contained in:
parent
63c18afb8f
commit
f1fc475665
2 changed files with 52 additions and 0 deletions
51
pkgs/ctcache.nix
Normal file
51
pkgs/ctcache.nix
Normal file
|
|
@ -0,0 +1,51 @@
|
|||
{
|
||||
lib,
|
||||
python3,
|
||||
fetchFromGitHub,
|
||||
}:
|
||||
|
||||
python3.pkgs.buildPythonApplication (finalAttrs: {
|
||||
pname = "ctcache";
|
||||
version = "1.2.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "matus-chochlik";
|
||||
repo = "ctcache";
|
||||
tag = finalAttrs.version;
|
||||
hash = "sha256-HjinmEIyFtj99xuI5DahHNNR+Lrghb1IBCpY5lmS08A=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
python3.pkgs.setuptools
|
||||
python3.pkgs.setuptools-scm
|
||||
];
|
||||
|
||||
dependencies = with python3.pkgs; [
|
||||
flask
|
||||
requests
|
||||
];
|
||||
|
||||
optional-dependencies = with python3.pkgs; {
|
||||
server = [
|
||||
gevent
|
||||
matplotlib
|
||||
wsgiserver
|
||||
];
|
||||
tools = [
|
||||
matplotlib
|
||||
];
|
||||
};
|
||||
|
||||
pythonImportsCheck = [
|
||||
"ctcache"
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "Cache for clang-tidy static analysis results";
|
||||
homepage = "https://github.com/matus-chochlik/ctcache";
|
||||
license = lib.licenses.boost;
|
||||
maintainers = with lib.maintainers; [ ];
|
||||
mainProgram = "ctcache";
|
||||
};
|
||||
})
|
||||
|
|
@ -25,6 +25,7 @@
|
|||
msbt-python = pkgs.python3.withPackages (_: [ msbt ]);
|
||||
bars-to-bwav = pkgs.callPackage ./bars-to-bwav.nix { };
|
||||
vdo-ninja = pkgs.callPackage ./vdo-ninja.nix { };
|
||||
ctcache = pkgs.callPackage ./ctcache.nix { };
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue