mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
python3Packages.shodan: migrate to pyproject (#537848)
This commit is contained in:
commit
93febfdb40
1 changed files with 11 additions and 6 deletions
|
|
@ -10,17 +10,22 @@
|
|||
xlsxwriter,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "shodan";
|
||||
version = "1.31.0";
|
||||
format = "setuptools";
|
||||
pyproject = true;
|
||||
|
||||
__structuredAttrs = true;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
pname = "shodan";
|
||||
inherit (finalAttrs) version;
|
||||
hash = "sha256-xzJ1OG6gI5DhlsNcZgcGoo3U1TfFoh6zh6tiNvrCUfY=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [
|
||||
click-plugins
|
||||
colorama
|
||||
requests
|
||||
|
|
@ -38,11 +43,11 @@ buildPythonPackage rec {
|
|||
description = "Python library and command-line utility for Shodan";
|
||||
mainProgram = "shodan";
|
||||
homepage = "https://github.com/achillean/shodan-python";
|
||||
changelog = "https://github.com/achillean/shodan-python/blob/${version}/CHANGELOG.md";
|
||||
changelog = "https://github.com/achillean/shodan-python/blob/${finalAttrs.version}/CHANGELOG.md";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [
|
||||
fab
|
||||
lihop
|
||||
];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue