otus-lisp: use finalAttrs pattern

This commit is contained in:
Daniel Nagy 2023-11-27 00:15:00 +01:00
parent a73f29ddcf
commit 196dbefbaa
No known key found for this signature in database
GPG key ID: 1B8E8DCB576FB671

View file

@ -1,14 +1,14 @@
{ lib, stdenv, fetchFromGitHub, xxd }:
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "otus-lisp";
version = "2.5";
src = fetchFromGitHub {
owner = "yuriy-chumak";
repo = "ol";
rev = version;
sha256 = "sha256-xwn2cvtw3co7MJ4J0FraEtZhKWVaaaoJYMrohyFF+us=";
rev = finalAttrs.version;
hash = "sha256-xwn2cvtw3co7MJ4J0FraEtZhKWVaaaoJYMrohyFF+us=";
};
nativeBuildInputs = [ xxd ];
@ -23,4 +23,4 @@ stdenv.mkDerivation rec {
maintainers = with lib.maintainers; [ nagy ];
mainProgram = "ol";
};
}
})