mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-21 12:38:41 +03:00
carla: switch to finalAttrs
This commit is contained in:
parent
e2db4ebfd5
commit
c0db854816
@ -24,14 +24,14 @@
|
|||||||
assert withQt -> qtbase != null;
|
assert withQt -> qtbase != null;
|
||||||
assert withQt -> wrapQtAppsHook != null;
|
assert withQt -> wrapQtAppsHook != null;
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
pname = "carla";
|
pname = "carla";
|
||||||
version = "2.5.5";
|
version = "2.5.5";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "falkTX";
|
owner = "falkTX";
|
||||||
repo = pname;
|
repo = finalAttrs.pname;
|
||||||
rev = "v${version}";
|
rev = "v${finalAttrs.version}";
|
||||||
hash = "sha256-kXQ0dv4KrwvfxdP73zimof9XKpAz5E6hQrFOjLG4hKU=";
|
hash = "sha256-kXQ0dv4KrwvfxdP73zimof9XKpAz5E6hQrFOjLG4hKU=";
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -49,7 +49,7 @@ stdenv.mkDerivation rec {
|
|||||||
++ lib.optional withGtk2 gtk2
|
++ lib.optional withGtk2 gtk2
|
||||||
++ lib.optional withGtk3 gtk3;
|
++ lib.optional withGtk3 gtk3;
|
||||||
|
|
||||||
propagatedBuildInputs = pythonPath;
|
propagatedBuildInputs = finalAttrs.pythonPath;
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
@ -100,4 +100,4 @@ stdenv.mkDerivation rec {
|
|||||||
maintainers = [ maintainers.minijackson ];
|
maintainers = [ maintainers.minijackson ];
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
};
|
};
|
||||||
}
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user