mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-09-15 03:40:22 +00:00
python3Packages.configobj: modernize
This commit is contained in:
@@ -8,15 +8,17 @@
|
||||
six,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "configobj";
|
||||
version = "5.0.9";
|
||||
pyproject = true;
|
||||
|
||||
__structuredAttrs = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "DiffSK";
|
||||
repo = "configobj";
|
||||
tag = "v${version}";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-duPCGBaHCXp4A6ZHLnyL1SZtR7K4FJ4hs5wCE1V9WB4=";
|
||||
};
|
||||
|
||||
@@ -33,8 +35,8 @@ buildPythonPackage rec {
|
||||
meta = {
|
||||
description = "Config file reading, writing and validation";
|
||||
homepage = "https://github.com/DiffSK/configobj";
|
||||
changelog = "https://github.com/DiffSK/configobj/blob/v${version}/CHANGES.rst";
|
||||
changelog = "https://github.com/DiffSK/configobj/blob/v${finalAttrs.version}/CHANGES.rst";
|
||||
license = lib.licenses.bsd3;
|
||||
maintainers = [ ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user