pixelorama: use finalAtts pattern with mkDerivation instead of rec

This commit is contained in:
Felix Schröter 2023-06-13 19:26:12 +02:00
parent 73b9783315
commit e0b817ccb7
No known key found for this signature in database
GPG key ID: 671E39E6744C807D

View file

@ -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 ];
};
}
})