-
-
Notifications
You must be signed in to change notification settings - Fork 15.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
git-dump: init at 1.0.8 #388988
base: master
Are you sure you want to change the base?
git-dump: init at 1.0.8 #388988
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
@@ -0,0 +1,43 @@ | ||||||
{ | ||||||
lib, | ||||||
python3, | ||||||
fetchFromGitHub, | ||||||
}: | ||||||
|
||||||
python3.pkgs.buildPythonApplication rec { | ||||||
pname = "git-dumper"; | ||||||
version = "1.0.8"; | ||||||
pyproject = true; | ||||||
|
||||||
src = fetchFromGitHub { | ||||||
owner = "arthaud"; | ||||||
repo = "git-dumper"; | ||||||
rev = version; | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
hash = "sha256-XU+6Od+mC8AV+w7sd8JaMB2Lc81ekeDLDiGGNu6bU0A="; | ||||||
}; | ||||||
|
||||||
build-system = [ | ||||||
python3.pkgs.setuptools | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. same here, use |
||||||
]; | ||||||
|
||||||
dependencies = with python3.pkgs; [ | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. same here |
||||||
beautifulsoup4 | ||||||
dulwich | ||||||
pysocks | ||||||
requests | ||||||
requests-pkcs12 | ||||||
]; | ||||||
|
||||||
pythonImportsCheck = [ | ||||||
"git_dumper" | ||||||
]; | ||||||
|
||||||
meta = { | ||||||
description = "Tool to dump a git repository from a website"; | ||||||
homepage = "https://github.com/arthaud/git-dumper"; | ||||||
yechielw marked this conversation as resolved.
Show resolved
Hide resolved
|
||||||
changelog = "https://github.com/arthaud/git-dumper/releases/tag/${version}"; | ||||||
license = lib.licenses.mit; | ||||||
maintainers = with lib.maintainers; [ yechielw ]; | ||||||
mainProgram = "git-dumper"; | ||||||
}; | ||||||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
using python3.pkgs pins the derivation to a certain python version which is not ideal