From 73b978331520d318d5ca6b4ae0732d09f392603a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Felix=20Schr=C3=B6ter?= Date: Tue, 13 Jun 2023 19:23:51 +0200 Subject: [PATCH 1/2] pixelorama: 0.10.3 -> 0.11 --- pkgs/applications/editors/pixelorama/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/editors/pixelorama/default.nix b/pkgs/applications/editors/pixelorama/default.nix index ab5539ffb47f..4e862c5ef12a 100644 --- a/pkgs/applications/editors/pixelorama/default.nix +++ b/pkgs/applications/editors/pixelorama/default.nix @@ -9,13 +9,13 @@ let else throw "unsupported platform"; in stdenv.mkDerivation rec { pname = "pixelorama"; - version = "0.10.3"; + version = "0.11"; src = fetchFromGitHub { owner = "Orama-Interactive"; repo = "Pixelorama"; rev = "v${version}"; - sha256 = "sha256-RFE7K8NMl0COzFEhUqWhhYd5MGBsCDJf0T5daPu/4DI="; + sha256 = "sha256-r4iQJBxXzIbQ7n19Ah6szuIfALmuKlHKcvKsxEzOttk="; }; nativeBuildInputs = [ From e0b817ccb706921d8e387eabb1e219ca073ddc30 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Felix=20Schr=C3=B6ter?= Date: Tue, 13 Jun 2023 19:26:12 +0200 Subject: [PATCH 2/2] pixelorama: use finalAtts pattern with mkDerivation instead of rec --- pkgs/applications/editors/pixelorama/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/editors/pixelorama/default.nix b/pkgs/applications/editors/pixelorama/default.nix index 4e862c5ef12a..e883ba36d5fb 100644 --- a/pkgs/applications/editors/pixelorama/default.nix +++ b/pkgs/applications/editors/pixelorama/default.nix @@ -7,14 +7,14 @@ let else "Linux/X11 32-bit" else if stdenv.isDarwin then "Mac OSX" else throw "unsupported platform"; -in stdenv.mkDerivation rec { +in stdenv.mkDerivation (finalAttrs: { pname = "pixelorama"; version = "0.11"; src = fetchFromGitHub { owner = "Orama-Interactive"; repo = "Pixelorama"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; sha256 = "sha256-r4iQJBxXzIbQ7n19Ah6szuIfALmuKlHKcvKsxEzOttk="; }; @@ -56,4 +56,4 @@ in stdenv.mkDerivation rec { platforms = [ "i686-linux" "x86_64-linux" ]; maintainers = with maintainers; [ felschr ]; }; -} +})