python3Packages.brottsplatskartan: modernize
This commit is contained in:
@@ -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 ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user