Loading pkgs/by-name/ec/ecos/package.nix +22 −9 Original line number Diff line number Diff line Loading @@ -4,39 +4,52 @@ fetchFromGitHub, }: stdenv.mkDerivation rec { stdenv.mkDerivation (finalAttrs: { pname = "ecos"; version = "2.0.7"; version = "2.0.10"; src = fetchFromGitHub { owner = "embotech"; repo = "ecos"; rev = version; sha256 = "1hsndim5kjvcwk5svqa4igawzahj982180xj1d7yd0dbjlgxc7w7"; tag = "v${finalAttrs.version}"; hash = "sha256-WMgqDc+XAY3g2wwlefjJ0ATxR5r/jL971FZKtxsunnU="; }; buildPhase = '' runHook preBuild make all shared runHook postBuild ''; doCheck = true; checkPhase = '' runHook preCheck make test ./runecos runHook postCheck ''; installPhase = '' runHook preInstall mkdir -p $out/lib cp lib*.a lib*.so $out/lib cp -r include $out/ runHook postInstall ''; meta = with lib; { meta = { description = "Lightweight conic solver for second-order cone programming"; homepage = "https://www.embotech.com/ECOS"; downloadPage = "https://github.com/embotech/ecos/releases"; license = licenses.gpl3; platforms = platforms.all; maintainers = with maintainers; [ bhipple ]; license = lib.licenses.gpl3; platforms = lib.platforms.all; maintainers = with lib.maintainers; [ bhipple ]; }; } }) Loading
pkgs/by-name/ec/ecos/package.nix +22 −9 Original line number Diff line number Diff line Loading @@ -4,39 +4,52 @@ fetchFromGitHub, }: stdenv.mkDerivation rec { stdenv.mkDerivation (finalAttrs: { pname = "ecos"; version = "2.0.7"; version = "2.0.10"; src = fetchFromGitHub { owner = "embotech"; repo = "ecos"; rev = version; sha256 = "1hsndim5kjvcwk5svqa4igawzahj982180xj1d7yd0dbjlgxc7w7"; tag = "v${finalAttrs.version}"; hash = "sha256-WMgqDc+XAY3g2wwlefjJ0ATxR5r/jL971FZKtxsunnU="; }; buildPhase = '' runHook preBuild make all shared runHook postBuild ''; doCheck = true; checkPhase = '' runHook preCheck make test ./runecos runHook postCheck ''; installPhase = '' runHook preInstall mkdir -p $out/lib cp lib*.a lib*.so $out/lib cp -r include $out/ runHook postInstall ''; meta = with lib; { meta = { description = "Lightweight conic solver for second-order cone programming"; homepage = "https://www.embotech.com/ECOS"; downloadPage = "https://github.com/embotech/ecos/releases"; license = licenses.gpl3; platforms = platforms.all; maintainers = with maintainers; [ bhipple ]; license = lib.licenses.gpl3; platforms = lib.platforms.all; maintainers = with lib.maintainers; [ bhipple ]; }; } })