aecc1c5dbf
Module to use git https://github.com/AnswerDotAI/fastgit
38 lines
799 B
Nix
38 lines
799 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fastcore,
|
|
fetchFromGitHub,
|
|
setuptools,
|
|
}:
|
|
|
|
buildPythonPackage (finalAttrs: {
|
|
pname = "fastgit";
|
|
version = "0.0.1";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "AnswerDotAI";
|
|
repo = "fastgit";
|
|
tag = finalAttrs.version;
|
|
hash = "sha256-zpX8Y8Cuoeh8oeYJjZOD2KZByu7OUwOva546gBP5iZs=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
dependencies = [ fastcore ];
|
|
|
|
pythonImportsCheck = [ "fastgit" ];
|
|
|
|
# Module has no tests
|
|
doCheck = false;
|
|
|
|
meta = {
|
|
description = "Module to use git";
|
|
homepage = "https://github.com/AnswerDotAI/fastgit";
|
|
changelog = "https://github.com/AnswerDotAI/fastgit/blob/${finalAttrs.src.tag}/CHANGELOG.md";
|
|
license = lib.licenses.asl20;
|
|
maintainers = with lib.maintainers; [ fab ];
|
|
};
|
|
})
|