otus-lisp: use finalAttrs pattern
This commit is contained in:
parent
a73f29ddcf
commit
196dbefbaa
1 changed files with 4 additions and 4 deletions
|
@ -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";
|
||||
};
|
||||
}
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue