pixelorama: use finalAtts pattern with mkDerivation instead of rec
This commit is contained in:
parent
73b9783315
commit
e0b817ccb7
1 changed files with 3 additions and 3 deletions
|
@ -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 ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue