curaengine_stable: switch to fetchFromGitHub

This commit is contained in:
Felix Buehler 2021-12-13 15:36:58 +01:00
parent 4d09c0001c
commit 10117b2aaa

View file

@ -1,14 +1,14 @@
{ lib, stdenv, fetchurl }:
let
version = "15.04.6";
in
stdenv.mkDerivation {
pname = "curaengine";
inherit version;
{ lib, stdenv, fetchFromGitHub }:
src = fetchurl {
url = "https://github.com/Ultimaker/CuraEngine/archive/${version}.tar.gz";
sha256 = "1cd4dikzvqyj5g80rqwymvh4nwm76vsf78clb37kj6q0fig3qbjg";
stdenv.mkDerivation rec {
pname = "curaengine";
version = "15.04.6";
src = fetchFromGitHub {
owner = "Ultimaker";
repo = "CuraEngine";
rev = version;
sha256 = "sha256-8V21TRSqCN+hkTlz51d5A5oK5JOwEtx+ROt8cfJBL/0=";
};
postPatch = ''