python3Packages.brottsplatskartan: modernize

This commit is contained in:
Harinn
2026-06-06 09:14:15 +07:00
parent f0fa9fd068
commit 0090e8fcde
@@ -8,16 +8,18 @@
requests,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
pname = "brottsplatskartan";
version = "1.0.5";
pyproject = true;
__structuredAttrs = true;
src = fetchFromGitHub {
owner = "chrillux";
repo = "brottsplatskartan";
rev = version;
sha256 = "07iwmnchvpw156j23yfccg4c32izbwm8b02bjr1xgmcwzbq21ks9";
tag = finalAttrs.version;
hash = "sha256-Sc8g8Pqc1ddDlkuAhSpfP4rByGPM+SGkKYHfDZmtPB4=";
};
build-system = [ setuptools ];
@@ -37,4 +39,4 @@ buildPythonPackage rec {
license = with lib.licenses; [ mit ];
maintainers = with lib.maintainers; [ fab ];
};
}
})