libresprite: use finalAttrs pattern
This commit is contained in:
parent
8591c5902a
commit
0fad8ebe94
1 changed files with 3 additions and 3 deletions
|
@ -27,14 +27,14 @@
|
||||||
, nixosTests
|
, nixosTests
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
pname = "libresprite";
|
pname = "libresprite";
|
||||||
version = "1.0";
|
version = "1.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "LibreSprite";
|
owner = "LibreSprite";
|
||||||
repo = "LibreSprite";
|
repo = "LibreSprite";
|
||||||
rev = "v${version}";
|
rev = "v${finalAttrs.version}";
|
||||||
fetchSubmodules = true;
|
fetchSubmodules = true;
|
||||||
sha256 = "sha256-d8GmVHYomDb74iSeEhJEVTHvbiVXggXg7xSqIKCUSzY=";
|
sha256 = "sha256-d8GmVHYomDb74iSeEhJEVTHvbiVXggXg7xSqIKCUSzY=";
|
||||||
};
|
};
|
||||||
|
@ -118,4 +118,4 @@ stdenv.mkDerivation rec {
|
||||||
# https://github.com/LibreSprite/LibreSprite/issues/308
|
# https://github.com/LibreSprite/LibreSprite/issues/308
|
||||||
broken = stdenv.isDarwin;
|
broken = stdenv.isDarwin;
|
||||||
};
|
};
|
||||||
}
|
})
|
||||||
|
|
Loading…
Reference in a new issue