Unverified Commit 6e2fc690 authored by Maciej Krüger's avatar Maciej Krüger Committed by GitHub
Browse files

pick-colour-picker: use standard version number, add updateScript (#444835)

parents 8ada0a72 8bc01291
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
{
  lib,
  fetchFromGitHub,
  nix-update-script,
  python3Packages,
  glib,
  gtk3,
@@ -10,7 +11,7 @@

python3Packages.buildPythonPackage {
  pname = "pick-colour-picker";
  version = "unstable-2022-05-08";
  version = "1.5.0-unstable-2022-05-08";
  pyproject = true;

  src = fetchFromGitHub {
@@ -45,6 +46,10 @@ python3Packages.buildPythonPackage {

  pythonImportsCheck = [ "pick" ];

  passthru.updateScript = nix-update-script {
    extraArgs = [ "--version=branch" ];
  };

  meta = with lib; {
    homepage = "https://kryogenix.org/code/pick/";
    license = licenses.mit;