diff --git a/pkgs/by-name/sc/sca2d/package.nix b/pkgs/by-name/sc/sca2d/package.nix index f2c04ab9f752..4cca153e6f95 100644 --- a/pkgs/by-name/sc/sca2d/package.nix +++ b/pkgs/by-name/sc/sca2d/package.nix @@ -13,7 +13,7 @@ let src = fetchFromGitHub { owner = "lark-parser"; repo = "lark"; - rev = "refs/tags/${version}"; + tag = version; sha256 = "sha256-ctdPPKPSD4weidyhyj7RCV89baIhmuxucF3/Ojx1Efo="; }; @@ -27,14 +27,14 @@ let in python.pkgs.buildPythonApplication rec { pname = "sca2d"; - version = "0.2.0"; + version = "0.2.2"; format = "setuptools"; src = fetchFromGitLab { owner = "bath_open_instrumentation_group"; repo = "sca2d"; - rev = "v${version}"; - hash = "sha256-P+7g57AH8H7q0hBE2I9w8A+bN5M6MPbc9gA0b889aoQ="; + tag = "v${version}"; + hash = "sha256-p0Bv8jcnjcOLBAXN5A4GspSIEG4G4NPA4o0aEtwe/LU="; }; propagatedBuildInputs = with python.pkgs; [ @@ -44,12 +44,12 @@ python.pkgs.buildPythonApplication rec { pythonImportsCheck = [ "sca2d" ]; - meta = with lib; { + meta = { description = "Experimental static code analyser for OpenSCAD"; mainProgram = "sca2d"; homepage = "https://gitlab.com/bath_open_instrumentation_group/sca2d"; - changelog = "https://gitlab.com/bath_open_instrumentation_group/sca2d/-/blob/${src.rev}/CHANGELOG.md"; - license = licenses.gpl3Only; - maintainers = with maintainers; [ traxys ]; + changelog = "https://gitlab.com/bath_open_instrumentation_group/sca2d/-/blob/v${version}/CHANGELOG.md"; + license = lib.licenses.gpl3Only; + maintainers = with lib.maintainers; [ traxys ]; }; }