40 lines
818 B
Nix
40 lines
818 B
Nix
{
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
hatchling,
|
|
lib,
|
|
pytestCheckHook,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "wassima";
|
|
version = "2.0.2";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "jawah";
|
|
repo = "wassima";
|
|
tag = version;
|
|
hash = "sha256-Ro0PWNJDjspEtVgA/Gj3UlqbRDCiqrk9nEqx1ljbvRI=";
|
|
};
|
|
|
|
build-system = [ hatchling ];
|
|
|
|
pythonImportsCheck = [ "wassima" ];
|
|
|
|
nativeCheckInputs = [
|
|
pytestCheckHook
|
|
];
|
|
|
|
# tests connect to the internet
|
|
doCheck = false;
|
|
|
|
meta = {
|
|
changelog = "https://github.com/jawah/wassima/blob/${src.tag}/CHANGELOG.md";
|
|
description = "Access your OS root certificates with utmost ease";
|
|
homepage = "https://github.com/jawah/wassima";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ dotlambda ];
|
|
};
|
|
}
|